Skip to content

Commit

Permalink
fix(ui): SubHeader - small breakpoint styles
Browse files Browse the repository at this point in the history
  • Loading branch information
vio committed Sep 5, 2020
1 parent 9c0ffb7 commit 18eee10
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion packages/ui/src/layout/sub-header/sub-header.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

.rightSide {
flex: 0 0 auto;
margin-left: var(--space-xsmall);
}

/** Small size modifier */
Expand All @@ -50,3 +49,22 @@
.small .rightSize {
margin-left: var(--space-xxsmall);
}

/** Breakpoint changes */
.inner {
flex-wrap: wrap;
}

.rightSide {
margin: var(--space-xsmall) 0 0;
}

@media (min-width: 768px) {
.inner {
flex-wrap: nowrap;
}

.rightSide {
margin: 0 0 0 var(--space-xsmall);
}
}

0 comments on commit 18eee10

Please sign in to comment.