Skip to content

Commit

Permalink
change(copyright): line height to match page header implementation
Browse files Browse the repository at this point in the history
- renamed content to icon-content as previous class was adding styles from the
  header area to a content class
  • Loading branch information
ichim-david committed Dec 2, 2022
1 parent e10bde6 commit a56254e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ui/Copyright/Copyright.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Copyright.Icon = ({ children, ...rest }) => (
);

Copyright.Text = ({ children, ...rest }) => (
<span {...rest} className={'content'}>
<span {...rest} className={'icon-content'}>
{children}
</span>
);
Expand Down
1 change: 1 addition & 0 deletions theme/themes/eea/extras/copyright.less
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
display: flex;
color: @copyrightContentColor;
font-size: @copyrightContentFontSize;
line-height: @copyrightLineHeight;
gap: @copyrightContentPaddingRight;
}
&.left .wrapper {
Expand Down
3 changes: 2 additions & 1 deletion theme/themes/eea/extras/copyright.variables
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
/* Content */
@copyrightContentColor: @grey-1;
@copyrightContentFontSize: @font-size-00;
@copyrightContentPaddingRight: @rem-space-1;
@copyrightLineHeight: @font-lineheight-0;
@copyrightContentPaddingRight: @rem-space-1;

0 comments on commit a56254e

Please sign in to comment.