Skip to content

Commit

Permalink
refactor(List):change styles to match with the tags lists are rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis Sourtzis committed Apr 15, 2022
1 parent 87813c1 commit 2673890
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions theme/themes/eea/elements/list.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ div.ui.list > .item .description {
margin: @itemDescriptionMarginTop;
}

dl dd {
margin-inline-start: @descriptionMarginInlineStart;
}

/* Unordered list */
.ui.bulleted.list .list > .item:before,
.ui.bulleted.list .list > a.item:before,
Expand Down
3 changes: 2 additions & 1 deletion theme/themes/eea/elements/list.variables
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@itemLineHeight: @relativeBig;

/* Sub List */
@childListPadding: 0.5em 0em 0.25em 0.5em;
@childListPadding: 0.25em 0em 0.25em 0.5em;
@childListIndent: 1em;

/* Sub List Item */
Expand Down Expand Up @@ -63,6 +63,7 @@
/* Description */
@itemDescriptionColor: rgba(0, 0, 0, 0.7);
@itemDescriptionMarginTop: 0.5rem 0;
@descriptionMarginInlineStart: 0;

/* Link */
@itemLinkColor: @linkColor;
Expand Down

0 comments on commit 2673890

Please sign in to comment.