Skip to content

Commit

Permalink
chore(ui5-shellbar): move responsive paddings to the host element (#1…
Browse files Browse the repository at this point in the history
…0067)

chore(ui5-shellbar): move responsive paddings to the host
  • Loading branch information
TeodorTaushanov authored Oct 29, 2024
1 parent 2d2703e commit 8d971b8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/fiori/src/themes/ShellBar.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
:host(:not([hidden])) {
display: inline-block;
width: 100%;
background: var(--sapShellColor);
box-sizing: border-box;
}

:host {
Expand All @@ -19,7 +21,6 @@
display: flex;
justify-content: space-between;
align-items: center;
background: var(--sapShellColor);
height: var(--_ui5_shellbar_root_height);
font-family: "72override", var(--sapFontFamily);
font-size: var(--sapFontSize);
Expand Down Expand Up @@ -178,31 +179,31 @@ slot[name="profile"] {
margin-inline-start: 0;
}

:host([breakpoint-size="S"]) .ui5-shellbar-root {
:host([breakpoint-size="S"]) {
padding: 0 1rem;
}

:host([breakpoint-size="S"]) .ui5-shellbar-search-full-width-wrapper {
padding: 0 1rem;
}

:host([breakpoint-size="M"]) .ui5-shellbar-root {
:host([breakpoint-size="M"]) {
padding: 0 2rem;
}

:host([breakpoint-size="M"]) .ui5-shellbar-search-full-width-wrapper {
padding: 0 2rem;
}

:host([breakpoint-size="L"]) .ui5-shellbar-root {
:host([breakpoint-size="L"]) {
padding: 0 2rem;
}

:host([breakpoint-size="XL"]) .ui5-shellbar-root {
:host([breakpoint-size="XL"]) {
padding: 0 3rem;
}

:host([breakpoint-size="XXL"]) .ui5-shellbar-root {
:host([breakpoint-size="XXL"]) {
padding: 0 3rem;
}

Expand Down

0 comments on commit 8d971b8

Please sign in to comment.