Fix Stylelint issues

pull/352/head
Sage Abdullah 2022-07-26 12:48:33 +07:00 zatwierdzone przez Karl Hobley
rodzic c02c9116a8
commit 591fab1bb7
2 zmienionych plików z 6 dodań i 15 usunięć

Wyświetl plik

@ -365,7 +365,7 @@ blockquote .text {
line-height: 1.15; line-height: 1.15;
} }
blockquote .attribute_name { blockquote .attribute-name {
color: var(--dark); color: var(--dark);
font-size: var(--font-md); font-size: var(--font-md);
line-height: 1.56; line-height: 1.56;
@ -387,10 +387,12 @@ blockquote .attribute_name {
} }
/* Richtext Styles */ /* Richtext Styles */
/* stylelint-disable-next-line selector-class-pattern */
.block-paragraph_block p { .block-paragraph_block p {
color: var(--dark); color: var(--dark);
} }
/* stylelint-disable-next-line selector-class-pattern */
.block-paragraph_block a { .block-paragraph_block a {
text-decoration: underline; text-decoration: underline;
} }
@ -503,6 +505,7 @@ blockquote .attribute_name {
.navigation__mobile-toggle { .navigation__mobile-toggle {
background-color: transparent; background-color: transparent;
border: none; border: none;
margin: 0 0 0 auto;
} }
.navigation__mobile-toggle[aria-expanded='true'] { .navigation__mobile-toggle[aria-expanded='true'] {
@ -638,10 +641,6 @@ blockquote .attribute_name {
text-decoration: underline; text-decoration: underline;
} }
.navigation__mobile-toggle {
margin: 0 0 0 auto;
}
/* Required as bootstrap nav automatically hides this otherwise */ /* Required as bootstrap nav automatically hides this otherwise */
@media (min-width: 768px) { @media (min-width: 768px) {
.navigation__mobile-toggle { .navigation__mobile-toggle {
@ -1283,11 +1282,7 @@ input[type='radio'] {
} }
.form-page .required { .form-page .required {
color: red; color: var(--orange);
}
.form-page .fieldWrapper {
margin-bottom: 30px;
} }
.form-page .help { .form-page .help {
@ -1298,10 +1293,6 @@ input[type='radio'] {
max-width: 350px; max-width: 350px;
} }
.form-page .required {
color: var(--orange);
}
.form-page__field { .form-page__field {
color: var(--dark); color: var(--dark);
margin-bottom: 30px; margin-bottom: 30px;

Wyświetl plik

@ -1,5 +1,5 @@
{% load wagtailimages_tags %} {% load wagtailimages_tags %}
<blockquote><p class="text">{{ self.text }}</p> <blockquote><p class="text">{{ self.text }}</p>
<p class="attribute_name">{{ self.attribute_name}}</p> <p class="attribute-name">{{ self.attribute_name}}</p>
</blockquote> </blockquote>