Skip to content
This repository has been archived by the owner on Feb 17, 2025. It is now read-only.

Blockbase: remove margin-top from first descendants of columns and groups #4436

Merged
merged 3 commits into from
Aug 26, 2021
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
4 changes: 4 additions & 0 deletions blockbase/assets/ponyfill.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion blockbase/sass/base/_text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,10 @@
p {
margin-top: var(--wp--custom--margin--vertical);
margin-bottom: var(--wp--custom--margin--vertical);
}
}

.wp-block-column, .wp-block-group {
:first-child {
margin-top: 0;
}
}
8 changes: 8 additions & 0 deletions skatepark/assets/theme.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions skatepark/sass/base/_text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,3 @@
::selection {
color: var(--wp--preset--color--background);
}

p {
margin-top: calc( 0.5 * var(--wp--custom--margin--vertical) );
margin-bottom: calc( 0.5 * var(--wp--custom--margin--vertical) );
}