Skip to content

Commit 872190a

Browse files
authored
Merge pull request #672 from maykinmedia/fix/1543-Set-margins-when-CMS-is-in-edit-mode
💄 [#1543] Fixing margins for heading when CMS is in edit mode
2 parents 2dae10d + d967a8e commit 872190a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/open_inwoner/scss/components/Button/Button.scss

+4
Original file line numberDiff line numberDiff line change
@@ -168,3 +168,7 @@
168168
.p + .button {
169169
margin-top: var(--spacing-large);
170170
}
171+
172+
.cta-button {
173+
margin-bottom: var(--spacing-large);
174+
}

src/open_inwoner/scss/components/Typography/H2.scss

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
word-break: normal;
1919
overflow-wrap: break-word;
2020
}
21+
22+
// when CMS is in edit mode
23+
&.cms-plugin {
24+
margin-top: var(--gutter-width);
25+
}
2126
}
2227

2328
///

0 commit comments

Comments
 (0)