Skip to content

Commit

Permalink
Add divider content for metadata field in Banner
Browse files Browse the repository at this point in the history
(cherry picked from commit f1e34bd)
  • Loading branch information
razvanMiu authored and ichim-david committed Mar 21, 2022
1 parent 47f19cf commit 327ad1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions theme/themes/eea/extras/banner.less
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
font-size: @mobileMetadataFontSize;
line-height: @mobileMetadataLineHeight;
font-weight: @metadataFontWeight;

span.field:not(:last-child)::after {
content: @metadataFieldDividerContent;
}
}

.actions {
Expand Down
2 changes: 2 additions & 0 deletions theme/themes/eea/extras/banner.variables
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
@tabletMetadataFontSize : 0.875rem;
@mobileMetadataLineHeight : 0.5rem;
@tabletMetadataLineHeight : 1rem;
// Metadata field
@metadataFieldDividerContent: ' | ';

/* Actions */
@mobileActionsAlignItems : center;
Expand Down

0 comments on commit 327ad1c

Please sign in to comment.