Improve elemental-list positioning

This commit is contained in:
Tony Air 2019-11-07 23:38:51 +07:00
parent 9e456c8cde
commit feaf983438

View File

@ -21,6 +21,18 @@ h1.page-header {
&.site__elements__sliderelement { &.site__elements__sliderelement {
padding: 0; padding: 0;
} }
// remove paddings for elemental list cuz inner elements will have paddings
&.dnadesign__elementallist__model__elementlist {
padding-top: 0;
padding-bottom: 0;
.dynamic__elements__image__elements__elementimage,
.site__elements__sliderelement {
padding-top: $grid-gutter-element-height;
padding-bottom: $grid-gutter-element-height;
}
}
} }
// remove container paddings for the slideshow // remove container paddings for the slideshow