Skip to content

Commit

Permalink
adjusted the button size and alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
madhusudhand committed Dec 10, 2024
1 parent 64b4b3c commit c25ac4b
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions packages/design-picker/src/components/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@

.design-picker__category-group-content {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 16px;
gap: 8px 16px;
}
}

Expand All @@ -55,24 +56,22 @@
font-weight: 500;
}

.design-picker__tier-filter {
height: 40px; // match button height
margin-bottom: 6px;
}

.design-picker__design-your-own-button {
flex-shrink: 0;
height: 32px;
line-height: 14px;
margin-top: 8px;
margin-bottom: 8px;

&.design-picker__design-with-ai {
display: none;

@include break-small {
display: block;
}
}
margin-bottom: 6px;
}

.design-picker__tier-filter {
height: 48px; // match button height
.design-picker__design-with-ai {
display: none;

@include break-small {
display: block;
}
}

.design-picker__design-your-own-button-without-categories {
Expand Down

0 comments on commit c25ac4b

Please sign in to comment.