Skip to content
Snippets Groups Projects
Commit 448d9025 authored by Michael Kessler's avatar Michael Kessler
Browse files

[TASK] Fix css issue

parent a8522ce7
No related branches found
No related tags found
No related merge requests found
......@@ -36,33 +36,33 @@ $sg-news-chevron-color: var(--component-color-primary-background, $black-base);
display: none;
position: relative;
bottom: -10px;
width: auto !important; // stylelint-disable-line
width: auto !important; // stylelint-disable-line
@media (min-width: $screen-sm) {
display: block;
}
}
&[data-current-columns="3"] {
&[data-current-columns='3'] {
.sg-slide-dots__indicator {
&:not(:nth-child(3n+1)) {
&:not(:nth-child(3n + 1)) {
display: none;
}
}
.sg-slide:not(:nth-child(3n+1)) {
.sg-slide:not(:nth-child(3n + 1)) {
border-left: 1px solid $sg-news-border-color;
}
}
&[data-current-columns="2"] {
&[data-current-columns='2'] {
.sg-slide-dots__indicator {
&:not(:nth-child(2n+1)) {
&:not(:nth-child(2n + 1)) {
display: none;
}
}
.sg-slide:not(:nth-child(2n+1)) {
.sg-slide:not(:nth-child(2n + 1)) {
border-left: 1px solid $sg-news-border-color;
}
}
......@@ -76,7 +76,7 @@ $sg-news-chevron-color: var(--component-color-primary-background, $black-base);
.sg-slide-news-content {
margin-bottom: 16px;
padding: 0 50px
padding: 0 50px;
}
.tx-sgnews-teaser-description {
......@@ -90,7 +90,7 @@ $sg-news-chevron-color: var(--component-color-primary-background, $black-base);
display: block;
content: '';
width: $sg-news-headline-underline-width;
height: #{$sg-news-headline-underline-width / 6};
height: calc(#{$sg-news-headline-underline-width} / 6);
background: $sg-news-foreground-color;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment