Skip to content

Commit

Permalink
Make demo text CSS more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
mikachan committed Apr 11, 2024
1 parent 890fa18 commit 6bb02a9
Showing 1 changed file with 9 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,25 +73,20 @@
color: $gray-700;
}

.font-library-modal__font-variant_demo-image {
display: block;
height: $grid-unit-30;
width: auto;
}

.font-library-modal__font-variant_demo-text {
white-space: nowrap;
text-overflow: ellipsis;
flex-shrink: 0;
transition: opacity 0.3s ease-in-out;
@include reduce-motion("transition");
}
}

.font-library-modal__font-variant_demo-image {
display: block;
height: $grid-unit-30;
width: auto;
}

.font-library-modal__font-variant_demo-text {
white-space: nowrap;
flex-shrink: 0;
transition: opacity 0.3s ease-in-out;
@include reduce-motion("transition");
}

.font-library-modal__font-variant {
border-bottom: 1px solid $gray-200;
padding-bottom: $grid-unit-20;
Expand Down

0 comments on commit 6bb02a9

Please sign in to comment.