Skip to content

Commit

Permalink
fix(ui5-shellbar): Fix unnecessary cutting space on left side (#3513)
Browse files Browse the repository at this point in the history
Make limitation of the space (equal on both sides) to be applied only when the coPilot
logo is appearing to visually "divide" the Shellbar.

Fixes: #3501
  • Loading branch information
PetyaMarkovaBogdanova authored Jul 19, 2021
1 parent e0744d6 commit c7e6f07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/fiori/src/themes/ShellBar.css
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,14 @@ slot[name="profile"] {
}

.ui5-shellbar-overflow-container-left {
max-width: calc(50% - 1.5rem);

justify-content: flex-start;
margin-right: 0.5rem;
}

.ui5-shellbar-with-coPilot .ui5-shellbar-overflow-container-left {
flex-basis: 50%;
max-width: calc(50% - 1.5rem);
}

.ui5-shellbar-menu-button {
Expand Down Expand Up @@ -408,6 +409,7 @@ slot[name="profile"] {
pointer-events: none;
}


/**
* IE styles
*/
Expand Down

0 comments on commit c7e6f07

Please sign in to comment.