Skip to content

Commit

Permalink
💄 [#1543] Fixed margins for heading in edit mode and cta-button
Browse files Browse the repository at this point in the history
  • Loading branch information
jiromaykin committed Jun 15, 2023
1 parent c7111fb commit c041499
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/open_inwoner/scss/components/Button/Button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,7 @@
.p + .button {
margin-top: var(--spacing-large);
}

.cta-button {
margin-bottom: var(--spacing-large);
}
5 changes: 5 additions & 0 deletions src/open_inwoner/scss/components/Typography/H2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
word-break: normal;
overflow-wrap: break-word;
}

// when CMS is in edit mode
&.cms-plugin {
margin-top: var(--gutter-width);
}
}

///
Expand Down

0 comments on commit c041499

Please sign in to comment.