Skip to content

Commit 8981373

Browse files
committed
chore: set max-width for large screens and fix margins
fixes: #624
1 parent acb62f3 commit 8981373

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

assets/scss/_footer_project.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
flex-direction: column;
99
align-items: center;
1010
justify-content: center;
11-
margin: -12px;
11+
margin-top: -12px;
12+
margin-bottom: -12px;
1213
font-family: $font-qanelas;
1314

1415
.d-header {

assets/scss/_styles_project.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,23 @@ html {
783783
scroll-behavior: smooth;
784784
}
785785

786+
// Max-width constraint for large screens to prevent layout stretch
787+
$site-max-width: 1440px;
788+
789+
.td-navbar {
790+
> .container-fluid {
791+
max-width: $site-max-width;
792+
margin-left: auto;
793+
margin-right: auto;
794+
}
795+
}
796+
797+
.container-fluid.td-outer {
798+
max-width: $site-max-width;
799+
margin-left: auto;
800+
margin-right: auto;
801+
}
802+
786803
h1, h2, h3, h4, h5, h6 {
787804
scroll-margin-top: 1rem;
788805
}

0 commit comments

Comments
 (0)