Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions frontend/packages/volto-light-theme/news/691.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixes text in the sticky menu if the text was long enough to wrap. @jnptk
10 changes: 6 additions & 4 deletions frontend/packages/volto-light-theme/src/theme/sticky-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ body.cms-ui .sticky-menu {
flex-direction: column;
padding: 0;
margin: 0;
gap: 1px;
list-style: none;
text-align: center;

li a {
display: flex;
Expand All @@ -34,24 +36,24 @@ body.cms-ui .sticky-menu {
font-size: 10px;
font-style: normal;
font-weight: 700;
line-height: 18px; /* 180% */
line-height: 12px;
text-transform: capitalize;
}

li {
display: flex;
height: 93px;
min-height: 97px;
flex-direction: column;
align-items: center;
justify-content: center;
margin-bottom: 2px;
padding: 5px 10px;
background: var(--sticky-menu-color, #555);
color: var(--sticky-menu-foreground-color, #fff);
font-family: Inter;
font-size: 10px;
font-style: normal;
font-weight: 700;
line-height: 18px; /* 180% */
line-height: 12px;
text-transform: capitalize;
}

Expand Down