Fix coding style using stylelint --fix

[MAILPOET-2777]
This commit is contained in:
Jan Jakeš
2020-06-02 14:31:40 +02:00
committed by Veljko V
parent a601b795c0
commit efa4a69dd5
7 changed files with 5 additions and 9 deletions

View File

@@ -11,7 +11,7 @@
left: 50px; left: 50px;
} }
} }
@include breakpoint-max-width(960px) { @include breakpoint-max-width(960px) {
.BeaconFabButtonFrame, .BeaconFabButtonFrame,
.BeaconContainer { .BeaconContainer {

View File

@@ -65,8 +65,8 @@ p.sender_email_address_warning:first-child {
.mailpoet_subscribers_in_plan { .mailpoet_subscribers_in_plan {
font-size: 18px; font-size: 18px;
margin-top: 1em;
margin-bottom: 1em; margin-bottom: 1em;
margin-top: 1em;
&_spacer { &_spacer {
display: inline-block; display: inline-block;

View File

@@ -54,7 +54,7 @@
margin-top: 10px; margin-top: 10px;
} }
label[for="mailpoet_wc_checkout_optin_segments"] span { label[for='mailpoet_wc_checkout_optin_segments'] span {
font-size: 12px; font-size: 12px;
} }

View File

@@ -104,8 +104,7 @@ div.mailpoet_form:not(.mailpoet_form_fixed_bar) {
@include breakpoint-min-width($form-break-small-width) { @include breakpoint-min-width($form-break-small-width) {
.mailpoet_paragraph:last-child, .mailpoet_paragraph:last-child,
.mailpoet_paragraph p:last-child .mailpoet_paragraph p:last-child {
{
margin-bottom: 0; margin-bottom: 0;
} }
} }

View File

@@ -41,4 +41,3 @@ $editor-widget-icon-color: darken($color-primary-background, 31.5%);
$editor-widget-icon-size: 30px; $editor-widget-icon-size: 30px;
$editor-widget-shadow-color: darken($color-primary-background, 13%); $editor-widget-shadow-color: darken($color-primary-background, 13%);
$editor-widget-size: 70px; $editor-widget-size: 70px;

View File

@@ -7,4 +7,3 @@ $legacy-modal-popup-margin_mobile: 10px;
$legacy-modal-popup-padding-mobile: 12px; $legacy-modal-popup-padding-mobile: 12px;
$legacy-modal-popup-padding: 30px; $legacy-modal-popup-padding: 30px;
$legacy-modal-title-color: #cfcfcf; $legacy-modal-title-color: #cfcfcf;

View File

@@ -4,8 +4,7 @@ $newsletter-box-margin-big: 40px;
$newsletter-box-margin-small: 20px; $newsletter-box-margin-small: 20px;
$newsletter-box-description-space-between-heading-and-paragraph: 5px; $newsletter-box-description-space-between-heading-and-paragraph: 5px;
$newsletter-box-description-height: 110px; $newsletter-box-description-height: 110px;
$newsletter-box-description-text-height: $newsletter-box-description-text-height: $newsletter-box-description-height - $newsletter-box-description-space-between-heading-and-paragraph;
$newsletter-box-description-height - $newsletter-box-description-space-between-heading-and-paragraph;
$newsletter-box-heading-line-height: $newsletter-box-description-text-height / 4; $newsletter-box-heading-line-height: $newsletter-box-description-text-height / 4;
$newsletter-box-heading-font-size: $newsletter-box-heading-line-height * 5 / 7; $newsletter-box-heading-font-size: $newsletter-box-heading-line-height * 5 / 7;
$newsletter-box-description-line-height: $newsletter-box-heading-line-height / 2; $newsletter-box-description-line-height: $newsletter-box-heading-line-height / 2;