mirror of
https://github.com/coollabsio/coolify.git
synced 2026-09-28 02:06:37 -04:00
style(ui): unify view toggles at h-8 and View all buttons
Extract a shared view-toggle utility so list/grid switchers use the same 32px control height instead of mixed h-8/h-9 styles. Point section-heading View all links at the shared button class so they match other actions.
This commit is contained in:
@@ -12,7 +12,7 @@ it('provides grid and table views for compose resources without sorting controls
|
||||
->toContain('aria-label="Grid view"')
|
||||
->toContain('mb-3 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between')
|
||||
->toContain('flex w-full items-center justify-between gap-2 sm:w-auto sm:justify-start')
|
||||
->toContain('flex h-8 items-center rounded-lg border border-neutral-200 bg-white')
|
||||
->toContain('class="view-toggle"')
|
||||
->not->toContain('flex h-9 items-center rounded-lg border border-neutral-200 bg-white')
|
||||
->toContain("localStorage.setItem('service-compose-resources-view', mode)")
|
||||
->not->toContain('>Sort</button>')
|
||||
|
||||
Reference in New Issue
Block a user