Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Commit

Permalink
fix(List): linted
Browse files Browse the repository at this point in the history
  • Loading branch information
TheComputerM committed Aug 15, 2020
1 parent 6243ac9 commit ec4295f
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions packages/svelte-materialify/src/components/List/ListItem.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,18 @@
}
}

&.active {
&::before {
opacity: 0.12;
}

:global {
.s-icon {
color: inherit;
}
}
}

&.dense {
min-height: $list-dense-min-height;

Expand All @@ -124,6 +136,7 @@
margin-top: $list-item-icon-margin-y/2;
margin-bottom: $list-item-icon-margin-y/2;
}

[slot="left"] {
.s-icon {
margin-right: $list-item-dense-action-icon-margin;
Expand All @@ -149,18 +162,6 @@
font-size: 0;
}

&.active {
&::before {
opacity: 0.12;
}

:global {
.s-icon {
color: inherit;
}
}
}

&:not(.active) {
color: var(--theme-text-primary);
}
Expand Down

0 comments on commit ec4295f

Please sign in to comment.