Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
anoblet committed Apr 30, 2024
1 parent 98ecd26 commit f29beba
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions packages/cxl-ui/scss/cxl-section.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@use "./mixins" as cxl-mixins;

:host {
--figure-height-multiplier: 0.10;
--figure-height-multiplier: 0.1;
--figure-height-factor: calc(var(--figure-height-multiplier) * var(--cxl-content-max-width-wide));

position: relative;
Expand Down Expand Up @@ -93,15 +93,15 @@
*
* @see https://cxlworld.slack.com/archives/C01JABH8AHX/p1714384594016109?thread_ts=1713699357.038669&cid=C01JABH8AHX
*/
@media only screen and (min-width: 782px) {
:host(#view-hero) {
@media #{mq.$medium} {
:host(#view-hero):not(.view-hero-modern) {
@include mixins.wide-background();
@include mixins.extend-background-right();
@include mixins.wide-background-hero();
@include mixins.wide-background-hero-image();
}

:host([theme~="cxl-hero"]) {
:host([theme~="cxl-hero"]):not(.view-hero-modern) {
@include mixins.wide-background();
@include mixins.extend-background-right();
@include mixins.wide-background-hero();
Expand Down Expand Up @@ -158,3 +158,13 @@
}
}
}

@media only screen and (min-width: 782px) {
:host(#view-hero.view-hero-modern),
:host([theme~="cxl-hero"].view-hero-modern) {
@include mixins.wide-background();
@include mixins.extend-background-right();
@include mixins.wide-background-hero();
@include mixins.wide-background-hero-image();
}
}

0 comments on commit f29beba

Please sign in to comment.