Skip to content

Commit

Permalink
refactor(less variables):change tag list styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis Sourtzis committed Mar 17, 2022
1 parent fcded3d commit 8670087
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 2 additions & 4 deletions theme/themes/eea/extras/tagList.less
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
flex-direction: column;

& > * {
margin-bottom: 3px;
margin-top: 3px;
margin-top: @tagsListMarginTopMobile;
}
}

Expand All @@ -56,8 +55,7 @@
flex-direction: inherit;

& > * {
margin-bottom: 0;
margin-top: 0;
margin-top: @tagsListMarginTopTablet;
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions theme/themes/eea/extras/tagList.variables
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@
@tagsFontSize : 1.125rem;
@tagsLineHeight : 1.312rem;
@tagsLetterSpacing : -0.015rem;

/* Tags Content*/
@tagsListMarginTopMobile: 5px;
@tagsListMarginTopTablet: 0;

0 comments on commit 8670087

Please sign in to comment.