Skip to content

Commit

Permalink
Add min-width to max-width-layout to ensure it fits correctly in othe…
Browse files Browse the repository at this point in the history
…r layout containers (#949)

Co-authored-by: sushitommy <>
  • Loading branch information
sushitommy authored Dec 10, 2024
1 parent 1c0c2da commit 07b0344
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/happy-bugs-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@nl-rvo/css-max-width-layout": patch
"@nl-rvo/component-library-css": patch
"@nl-rvo/component-library-react": patch
---

Added min-width to max-width-layout to ensure it fits correctly in other layout containers
3 changes: 3 additions & 0 deletions components/max-width-layout/src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@

.rvo-max-width-layout--sm {
max-width: var(--rvo-layout-max-width-sm);
min-width: var(--rvo-layout-max-width-sm);
}

.rvo-max-width-layout--md {
max-width: var(--rvo-layout-max-width-md);
min-width: var(--rvo-layout-max-width-md);
}

.rvo-max-width-layout--lg {
max-width: var(--rvo-layout-max-width-lg);
min-width: var(--rvo-layout-max-width-lg);
}

.rvo-max-width-layout-inline-padding--sm {
Expand Down

0 comments on commit 07b0344

Please sign in to comment.