Skip to content

Commit

Permalink
Fix design picker active theme styles (#99333)
Browse files Browse the repository at this point in the history
  • Loading branch information
candy02058912 authored Feb 6, 2025
1 parent fb86ffd commit 6f55209
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions packages/design-picker/src/components/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
@include break-large {
margin-bottom: 64px;
}

.design-picker__design-card-title {
position: sticky;
top: 0;
Expand Down Expand Up @@ -66,7 +66,9 @@

.theme-card__info {
margin-top: 8px;
height: auto;
&:not(:has(.theme-card__info-badge-container)) {
height: auto;
}

@include break-small {
margin-top: 12px;
Expand Down
3 changes: 2 additions & 1 deletion packages/design-picker/src/components/theme-card/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ $theme-card-info-margin-top: 16px;
.theme-card__image-container {
box-shadow: 0 0 0 2px var(--color-primary);
border-radius: 4px;
z-index: 10;
}
}

Expand Down Expand Up @@ -64,7 +65,7 @@ $theme-card-info-margin-top: 16px;
.theme-card--is-actionable {
.theme-card__image {
transition: transform 300ms ease-in-out;

&:hover,
&:focus {
transform: scale(1.03);
Expand Down

0 comments on commit 6f55209

Please sign in to comment.