Skip to content

Commit

Permalink
fix(leadspace): adjust where min-block-size applie
Browse files Browse the repository at this point in the history
  • Loading branch information
m4olivei committed Nov 22, 2024
1 parent a596c70 commit 5b3dc75
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/styles/scss/components/leadspace/_leadspace.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright IBM Corp. 2016, 2023
* Copyright IBM Corp. 2016, 2024
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
Expand Down Expand Up @@ -513,8 +513,8 @@ $btn-min-width: 26;

:host(#{$c4d-prefix}-leadspace)[size='super'] {
@include breakpoint(lg) {
.#{$c4d-prefix}--leadspace__overlay {
min-block-size: 40rem;
.#{$c4d-prefix}--leadspace--content__container {
min-block-size: 38rem;
}
}

Expand All @@ -527,8 +527,8 @@ $btn-min-width: 26;

:host(#{$c4d-prefix}-leadspace)[size='medium'] {
@include breakpoint(lg) {
.#{$c4d-prefix}--leadspace__overlay {
min-block-size: 30rem;
.#{$c4d-prefix}--leadspace--content__container {
min-block-size: 28rem;
}
}

Expand Down Expand Up @@ -578,8 +578,8 @@ $btn-min-width: 26;

:host(#{$c4d-prefix}-leadspace)[size='tall'] {
@include breakpoint(lg) {
.#{$c4d-prefix}--leadspace__overlay {
min-block-size: 35rem;
.#{$c4d-prefix}--leadspace--content__container {
min-block-size: 33rem;
}
}

Expand Down

0 comments on commit 5b3dc75

Please sign in to comment.