Skip to content

Commit 75864c5

Browse files
authored
Merge pull request #245 from acsr/main
Set tweaked why-plone/faq long grid columns margin-bottom and lineheight
2 parents 0b42f20 + 7c258f3 commit 75864c5

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

frontend/theme/extras/main.less

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,3 +145,32 @@ table.slate-table td p {
145145
table.slate-table th p {
146146
font-size: 0.9em;
147147
}
148+
149+
// Set why-plone/faq long grid columns margin-bottom and lineheight styles
150+
151+
body.section-why-plone.section-faq {
152+
h2 {
153+
margin: 0 !important;
154+
line-height: 1.1em;
155+
margin-bottom: 1.7em !important;
156+
}
157+
h3 {
158+
line-height: 1.2em;
159+
margin: 0 !important;
160+
margin-top: 1.2em !important;
161+
margin-bottom: 0.7em !important;
162+
}
163+
164+
block.__grid h2:not(.headline),
165+
.block.__grid h3:not(.headline),
166+
[class$=Grid] .block h2:not(.headline),
167+
[class$=Grid] .block h3:not(.headline) {
168+
margin: unset;
169+
margin-top: 1em !important;
170+
margin-bottom: 0.7em !important;
171+
}
172+
173+
.ui.grid>.row>.stretched.column>*, .ui.grid>.stretched.column:not(.row)>*, .ui.grid>.stretched.row>.column>*, .ui.stretched.grid>.column>*, .ui.stretched.grid>.row>.column>* {
174+
flex-grow: unset;
175+
}
176+
}

0 commit comments

Comments
 (0)