Skip to content

Commit

Permalink
Adjust spacing on design picker (#97478)
Browse files Browse the repository at this point in the history
  • Loading branch information
fditrapani authored Dec 17, 2024
1 parent 1b8c19b commit 5252131
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions packages/design-picker/src/components/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,41 @@
flex-grow: 1;
}

.components-toolbar {
background-color: transparent;
}

.design-picker__design-card-group {
.design-picker__design-card-title {
position: sticky;
top: 0;
padding: 16px 12px;
margin: -16px -12px 8px;
padding: 16px 12px 12px;
margin: -16px -12px 0;
color: var(--studio-black);
background-color: var(--color-body-background);
font-size: $font-body;
font-size: $font-title-small;
font-style: normal;
font-weight: 500;
line-height: 24px;
z-index: 10;

@include break-small {
padding: 24px 24px 16px;
margin: -24px -24px 0;
}
}

.design-picker__grid {
margin-bottom: 24px;
margin-bottom: 32px;
}

.theme-card__info {
margin-top: 8px;
height: auto;

@include break-small {
margin-top: 12px;
}
}
}

Expand Down

0 comments on commit 5252131

Please sign in to comment.