Skip to content

Commit

Permalink
add scss to work with volto-light-theme
Browse files Browse the repository at this point in the history
  • Loading branch information
jackahl committed Dec 28, 2023
1 parent 23d0f6a commit a1b28d3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions src/theme/_main.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//Specific styles for volto-light-theme
.block.logos .ui.stackable,
.block.logos .grid-items,
.block.logos h2.headline{
@include default-container-width();
// Adding 2 * 10px (one for each side) we force the container to extend the value of
// the gutter to match the other blocks margin.
max-width: calc(var(--default-container-width) + 2 * 10px);
}
4 changes: 2 additions & 2 deletions src/theme/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
}

h3 {
width: 300px;
max-width: 300px;
}
}

Expand All @@ -118,6 +118,6 @@
}

h3 {
width: 400px;
max-width: 400px;
}
}

0 comments on commit a1b28d3

Please sign in to comment.