Skip to content

Commit

Permalink
Remove unused HTML selectors in
Browse files Browse the repository at this point in the history
`.list-description`
  • Loading branch information
kasperbirch1 committed Dec 7, 2023
1 parent d303344 commit 58ed879
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/stories/Library/Lists/list-description/list-description.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,18 @@ dl.list-description {
@extend %text-small-caption;
max-width: 420px;
color: $c-text-secondary-gray;
// Todo: all the html selectors below should be deleted when the markup is updated in dpl-react project
& > div, // see Todo above

.list-description__item {
display: grid;
grid-template-columns: 1fr 2fr;
}

.list-description__key,
.list-description__value,
dt, // see Todo above
dd // see Todo above
{
.list-description__value {
padding: 2px 4px;
}

.list-description__value,
dd // see Todo above
{
.list-description__value {
display: grid;
@include breakpoint-s {
display: flex;
Expand All @@ -44,9 +38,7 @@ dl.list-description.list-description--event {
grid-template-columns: 1fr;
}

.list-description__value,
dd // see Todo above
{
.list-description__value {
font-weight: bold;
}

Expand Down

0 comments on commit 58ed879

Please sign in to comment.