mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 16:23:22 +00:00
FIX - align Garage navbar title
This commit is contained in:
@@ -22,4 +22,11 @@ describe('GarageApp Sky UI contract', () => {
|
||||
expect(source).not.toContain('Apps.garage.provider')
|
||||
expect(source).not.toContain('overview.system')
|
||||
})
|
||||
|
||||
it('raises only the Garage title block', () => {
|
||||
expect(source).toContain('class="garage-navbar"')
|
||||
expect(source).toMatch(
|
||||
/\.garage-navbar :deep\(\.sky-navbar__title-container > div\)\s*\{[^}]*translateY\(-6px\)/s,
|
||||
)
|
||||
})
|
||||
})
|
||||
|
||||
@@ -231,6 +231,7 @@ onBeforeUnmount(() => {
|
||||
accent-soft="rgba(10, 132, 255, 0.15)"
|
||||
>
|
||||
<SkyNavbar
|
||||
class="garage-navbar"
|
||||
variant="large"
|
||||
:subtitle="phone.t('Apps.garage.subtitle')"
|
||||
:title="phone.t('Apps.garage.name')"
|
||||
@@ -562,6 +563,9 @@ onBeforeUnmount(() => {
|
||||
--garage-secondary: var(--sky-muted);
|
||||
--garage-separator: var(--sky-hairline);
|
||||
}
|
||||
.garage-navbar :deep(.sky-navbar__title-container > div) {
|
||||
transform: translateY(-6px);
|
||||
}
|
||||
.garage-scroll {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user