Fixed gaps on the homepage and article page
This commit is contained in:
parent
7f3e8f431d
commit
1c94ebb1e0
|
@ -41,7 +41,13 @@ export const ArticleCardSwiper = (props: Props) => {
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<Show when={props.title}>
|
<Show when={props.title}>
|
||||||
|
<div class="wide-container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
<h2 class={styles.sliderTitle}>{props.title}</h2>
|
<h2 class={styles.sliderTitle}>{props.title}</h2>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</Show>
|
</Show>
|
||||||
<div class={styles.container}>
|
<div class={styles.container}>
|
||||||
<Show when={props.slides?.length > 0}>
|
<Show when={props.slides?.length > 0}>
|
||||||
|
|
|
@ -847,13 +847,14 @@ figure {
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-content {
|
.main-content {
|
||||||
|
flex: 1 100%;
|
||||||
|
min-height: 90vh;
|
||||||
|
padding-top: 80px;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
@include media-breakpoint-up(lg) {
|
@include media-breakpoint-up(lg) {
|
||||||
padding-top: 130px;
|
padding-top: 130px;
|
||||||
}
|
}
|
||||||
|
|
||||||
flex: 1 100%;
|
|
||||||
min-height: 90vh;
|
|
||||||
position: relative;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-content--no-padding {
|
.main-content--no-padding {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user