Skip to content

Commit

Permalink
Scope ul css better on cards
Browse files Browse the repository at this point in the history
  • Loading branch information
forsbergplustwo committed Feb 9, 2024
1 parent 0655e88 commit 8e1948d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions app/assets/stylesheets/polaris_v12_overrides/card.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ html[class~="Polaris-Summer-Editions-2023"] .Polaris-LegacyCard {
.Polaris-LegacyCard__Section {
padding: var(--p-space-200) var(--p-space-400);

ul {
margin: 0 0 var(--p-space-200) 0;
padding-left: var(--p-space-500);
}

&:last-child {
padding-bottom: var(--p-space-400);
}
Expand All @@ -24,9 +29,4 @@ html[class~="Polaris-Summer-Editions-2023"] .Polaris-LegacyCard {
.Polaris-LegacyCard__Footer {
padding-top: var(--p-space-100);
}

ul {
margin: 0 0 var(--p-space-200) 0;
padding-left: var(--p-space-500);
}
}
8 changes: 4 additions & 4 deletions app/assets/stylesheets/polaris_view_components.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8e1948d

Please sign in to comment.