Skip to content

Commit

Permalink
Remove inline CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleybl committed Aug 6, 2024
1 parent d15ee2d commit 305497e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const RelatedItems = ({ relatedItems, intl }) => {
}

return (
<Container style={{ 'margin-top': '20px' }}>
<Container className="related-items">
<h2>{intl.formatMessage(messages.relatedItems)}</h2>
<ul>
{relatedItems.map((relatedItem) =>
Expand Down
5 changes: 5 additions & 0 deletions packages/volto/theme/themes/pastanaga/extras/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,11 @@ img.responsive {
height: auto;
}

// Related Items
.related-items {
margin-top: 20px;
}

// Deprecated as per https://github.com/plone/volto/issues/1265
// @import 'utils';
@import (multiple) '../extras/fonts';
Expand Down

0 comments on commit 305497e

Please sign in to comment.