Skip to content

Commit

Permalink
fix gaps in minimal widths
Browse files Browse the repository at this point in the history
  • Loading branch information
yesil committed Dec 11, 2024
1 parent a7b12d7 commit 2c01de0
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 0 deletions.
9 changes: 9 additions & 0 deletions libs/deps/mas/mas.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions libs/deps/mas/merch-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -1364,6 +1364,10 @@ merch-card[variant='twp'] merch-offer-select {
overflow: hidden;
}
:host([variant='ccd-slice']) * {
overflow: hidden;
}
:host([variant='ccd-suggested']:hover) {
--consonant-merch-card-border-color: #cacaca;
}
Expand Down Expand Up @@ -1499,10 +1503,15 @@ merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link {
flex-flow: wrap;
}
:host([variant='ccd-slice']) * {
overflow: hidden;
}
:host([variant='ccd-slice']) ::slotted([slot='body-s']) {
font-size: var(--consonant-merch-card-body-xs-font-size);
line-height: var(--consonant-merch-card-body-xxs-line-height);
max-width: 154px;
max-height: 54px;
overflow: hidden;
}
Expand Down
9 changes: 9 additions & 0 deletions libs/features/mas/dist/mas.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions libs/features/mas/src/variants/ccd-slice.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,15 @@ export class CCDSlice extends VariantLayout {
flex-flow: wrap;
}
:host([variant='ccd-slice']) * {
overflow: hidden;
}
:host([variant='ccd-slice']) ::slotted([slot='body-s']) {
font-size: var(--consonant-merch-card-body-xs-font-size);
line-height: var(--consonant-merch-card-body-xxs-line-height);
max-width: 154px;
max-height: 54px;
overflow: hidden;
}
Expand Down
4 changes: 4 additions & 0 deletions libs/features/mas/src/variants/ccd-suggested.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ export class CCDSuggested extends VariantLayout {
overflow: hidden;
}
:host([variant='ccd-slice']) * {
overflow: hidden;
}
:host([variant='ccd-suggested']:hover) {
--consonant-merch-card-border-color: #cacaca;
}
Expand Down

0 comments on commit 2c01de0

Please sign in to comment.