Varia: Remove unnecessary paddings from quote block

This commit is contained in:
Takashi Irie 2019-09-27 16:54:08 +01:00
parent b9414652c9
commit 8186d1093b
5 changed files with 8 additions and 5 deletions

View file

@ -13,7 +13,7 @@
&.is-large,
&.is-style-large {
border: none;
padding: 0 #{map-deep-get($config-global, "spacing", "horizontal")};
padding: 0;
p {
font-family: #{map-deep-get($config-quote, "font", "family")};

View file

@ -2,7 +2,7 @@
border-left-color: #{map-deep-get($config-global, "color", "primary", "default")};
margin: #{map-deep-get($config-global, "spacing", "vertical")} 0;
padding: 0 #{map-deep-get($config-global, "spacing", "horizontal")};
padding-left: #{map-deep-get($config-global, "spacing", "horizontal")};
& > * {
margin-top: #{map-deep-get($config-global, "spacing", "unit")};
@ -52,6 +52,7 @@
/* Resetting margins to match _block-container.scss */
margin-top: #{map-deep-get($config-global, "spacing", "vertical")};
margin-bottom: #{map-deep-get($config-global, "spacing", "vertical")};
padding: 0;
p {
font-size: #{map-deep-get($config-heading, "font", "size", "h3")};

View file

@ -572,7 +572,7 @@ p.has-background:not(.has-background-background-color) a {
.wp-block-quote.is-large, .wp-block-quote.is-style-large {
border: none;
padding: 0 16px;
padding: 0;
}
.wp-block-quote.is-large p, .wp-block-quote.is-style-large p {

View file

@ -1806,7 +1806,7 @@ p.has-background {
.wp-block-quote {
border-right-color: blue;
margin: 32px 0;
padding: 0 16px;
padding-right: 16px;
/**
* Block Options
*/
@ -1869,6 +1869,7 @@ p.has-background {
/* Resetting margins to match _block-container.scss */
margin-top: 32px;
margin-bottom: 32px;
padding: 0;
}
.wp-block-quote.is-style-large p, .wp-block-quote.is-large p {

View file

@ -1806,7 +1806,7 @@ p.has-background {
.wp-block-quote {
border-left-color: blue;
margin: 32px 0;
padding: 0 16px;
padding-left: 16px;
/**
* Block Options
*/
@ -1869,6 +1869,7 @@ p.has-background {
/* Resetting margins to match _block-container.scss */
margin-top: 32px;
margin-bottom: 32px;
padding: 0;
}
.wp-block-quote.is-style-large p, .wp-block-quote.is-large p {