Merge pull request #489 from Discours/fix/gaps-fix

Fixed gaps on the homepage and article page
This commit is contained in:
Tony 2024-10-08 23:07:52 +03:00 committed by GitHub
commit f5db8629f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 5 deletions

View File

@ -41,7 +41,13 @@ export const ArticleCardSwiper = (props: Props) => {
})}
>
<Show when={props.title}>
<h2 class={styles.sliderTitle}>{props.title}</h2>
<div class="wide-container">
<div class="row">
<div class="col-md-12">
<h2 class={styles.sliderTitle}>{props.title}</h2>
</div>
</div>
</div>
</Show>
<div class={styles.container}>
<Show when={props.slides?.length > 0}>

View File

@ -847,13 +847,14 @@ figure {
}
.main-content {
flex: 1 100%;
min-height: 90vh;
padding-top: 80px;
position: relative;
@include media-breakpoint-up(lg) {
padding-top: 130px;
}
flex: 1 100%;
min-height: 90vh;
position: relative;
}
.main-content--no-padding {