Skip to content

Commit

Permalink
Header: Adjust layout styles for better responsiveness on mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshbhutkar committed Jan 6, 2025
1 parent 4b39807 commit 758ddc2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/editor/src/components/header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,17 @@
.editor-header:has(> .editor-header__center) & {
grid-column: 4 / -1;
}
justify-self: end;
display: inline-flex;
align-items: center;
flex-wrap: nowrap;
padding-right: $grid-unit-05;
width: 100%;
justify-content: inherit;

@include break-mobile () {
justify-self: end;
width: min-content;
}

@include break-small () {
padding-right: $grid-unit-10;
Expand Down

0 comments on commit 758ddc2

Please sign in to comment.