Skip to content

Commit

Permalink
refactor(less variables): add less to related content
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis Sourtzis committed Mar 10, 2022
1 parent 955450e commit e1a5543
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions theme/themes/eea/extras/relatedContent.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@type: 'extra';
@element: 'relatedContent';

@import (multiple) '../../theme.config';

/*-------------------
Related Content
--------------------*/

.related-content-wrapper {
.button-wrapper {
display: flex;
justify-content: center;
}
}

@media only screen and (min-width: @tabletBreakpoint) {
.related-content-wrapper {
.button-wrapper {
justify-content: right;
}
}
}
3 changes: 3 additions & 0 deletions theme/themes/eea/extras/relatedContent.variables
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/*-------------------
Related Content
--------------------*/

0 comments on commit e1a5543

Please sign in to comment.