fixed spacing issues on post title (#4855)
This commit is contained in:
parent
7adf3e623e
commit
94e90df097
2 changed files with 13 additions and 7 deletions
|
@ -180,10 +180,13 @@
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
h1.wp-block-post-title:not(.has-featured-image .wp-block-post-title) {
|
||||
h1.wp-block-post-title {
|
||||
margin-bottom: calc(var(--wp--custom--gap--vertical) * 3);
|
||||
}
|
||||
|
||||
body:not(.has-featured-image) h1.wp-block-post-title {
|
||||
border-bottom: var(--wp--custom--form--border--width) var(--wp--custom--form--border--style) var(--wp--preset--color--primary);
|
||||
padding-bottom: calc(var(--wp--custom--gap--vertical) * 3);
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.is-root-container,
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
h1.wp-block-post-title:not(.has-featured-image .wp-block-post-title) {
|
||||
border-bottom: var(--wp--custom--form--border--width)
|
||||
var(--wp--custom--form--border--style) var(--wp--preset--color--primary);
|
||||
padding-bottom: calc(var(--wp--custom--gap--vertical) * 3);
|
||||
margin-bottom: 0;
|
||||
h1.wp-block-post-title {
|
||||
//can be removed after https://github.com/WordPress/gutenberg/pull/35684 lands
|
||||
margin-bottom: calc(var(--wp--custom--gap--vertical) * 3);
|
||||
body:not(.has-featured-image) &{
|
||||
border-bottom: var(--wp--custom--form--border--width)
|
||||
var(--wp--custom--form--border--style) var(--wp--preset--color--primary);
|
||||
padding-bottom: calc(var(--wp--custom--gap--vertical) * 3);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue