Skip to content

Commit

Permalink
fix(cxl-ui): cxl-accordion-card -> mobile max-width
Browse files Browse the repository at this point in the history
  • Loading branch information
freudFlintstone committed Dec 22, 2023
1 parent b5df115 commit 8207a70
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion packages/cxl-lumo-styles/scss/themes/cxl-accordion-card.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "~@conversionxl/cxl-ui/scss/cxl-card";
@use "~@conversionxl/cxl-lumo-styles/scss/mq";

:host(:not[disabled]) {
[part="summary"]:hover {
Expand Down Expand Up @@ -43,3 +43,14 @@
display: flex;
flex-wrap: wrap;
}

:host {
box-sizing: border-box;
max-width: calc(100vw - 2 * var(--cxl-wrap-padding));
}

@media #{mq.$small} {
:host {
max-width: initial;
}
}

0 comments on commit 8207a70

Please sign in to comment.