Skip to content

Commit

Permalink
Fix editor styles for next-events
Browse files Browse the repository at this point in the history
  • Loading branch information
albig committed Dec 4, 2024
1 parent 46a37ad commit 051f046
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions assets/css/editor-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,6 @@
}
}

.styled-layout .wp-block-group {
padding-top: 100px;
padding-bottom: 100px;
}

/* Main column width */
.wp-block {
max-width: 860px;
Expand Down Expand Up @@ -483,6 +478,11 @@ p a {
padding-bottom: 100px;
}

.styled-layout .wp-block-group > * {
padding-top: 0;
padding-bottom: 0;
}

@media (max-width: 767.98px) {
.styled-layout .wp-block-group {
padding-top: 50px;
Expand Down
4 changes: 2 additions & 2 deletions src/next-events/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
list-style: none;
padding: 0;

a {
a.event-card {
text-decoration: none;
color: variables.$body-color;

&.event-card article {
article {
background-color: #fff;
border-radius: 3px;
height: 100%;
Expand Down

0 comments on commit 051f046

Please sign in to comment.