FIX: Wrong Elements specification

This commit is contained in:
Tony Air 2020-12-28 17:38:09 +07:00
parent 6116d29bf5
commit 4eeed7a894
2 changed files with 22 additions and 16 deletions

View File

@ -5,6 +5,10 @@ After:
- elemental-list - elemental-list
- elementalvirtual - elementalvirtual
--- ---
Site\Elements\SliderElement:
slide_width: 2140
slide_height: 700
Page: Page:
searchable_elements: searchable_elements:
- DNADesign\Elemental\Models\ElementContent - DNADesign\Elemental\Models\ElementContent

View File

@ -3,27 +3,29 @@
.element { .element {
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
}
&.site__elements__sliderelement { .site__elements__sliderelement {
.element-container { .element-container {
width: 100%; width: 100%;
padding: 0; padding: 0;
max-width: none; max-width: none;
}
} }
&:first-child {
&.dynamic__elements__image__elements__elementimage {
text-align: center;
} }
}
&.site__elements__accordion { .dynamic__elements__image__elements__elementimage {
.card { text-align: center;
padding-left: 0; }
padding-right: 0;
.card-header { .site__elements__accordion {
@extend .bg-dark; .card {
} padding-left: 0;
padding-right: 0;
.card-header {
@extend .bg-dark;
} }
} }
} }