Commit f0c277e
authored
feat(ui5-shellbar): align padding and logo styles with VD spec (#13535)
Aligns ShellBarBranding.css with the Shell Bar (Horizon) Visual Design specification.
Changes:
- Container height: added explicit height: 2.25rem (36px) to .ui5-shellbar-branding-root to cap the branding area at the correct size
- Container padding-block: reduced from 0.25rem (4px) to 0.125rem (2px) top and bottom, as specified
- Container padding-inline: kept at 0.25rem left / 0.5rem right (4px / 8px) — already correct
- Standalone logo right spacing: reduced .ui5-shellbar-logo-area right padding from 0.5rem to 0.25rem to avoid the double 8px gap that was appearing when no product identifier is present
- Slotted logo max-height: reduced from 2rem (32px) to 1.875rem (30px) with 1px top/bottom padding-block breathing space, so the logo renders at the correct 30px height without being clipped
- Slotted logo width: added width: auto to ensure proportional scaling regardless of the logo's original dimensions
Spec reference
Shell Bar (Horizon) — Branding section:
- Branding container: height 2.25rem, padding top/bottom 2px, padding left 0.25rem (4px), padding right 0.5rem (8px)
- Logo: max-height 2rem, 1px top/bottom breathing space, padding left/right 0.25rem (4px)
- Spacing between logo and product identifier: 0.25rem (4px)
JIRA: BGSOFUIPIRIN-70651 parent 14c4218 commit f0c277e
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | | - | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
69 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
| |||
0 commit comments