Skip to content

Commit a652cf7

Browse files
committed
chore: set max-width for large screens and fix margins
fixes: #624 Signed-off-by: Siddarth Kumar <siddarthkay@gmail.com>
1 parent e656f5e commit a652cf7

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
@@ -768,6 +768,23 @@ html {
768768
scroll-behavior: smooth;
769769
}
770770

771+
// Max-width constraint for large screens to prevent layout stretch
772+
$site-max-width: 1440px;
773+
774+
.td-navbar {
775+
> .container-fluid {
776+
max-width: $site-max-width;
777+
margin-left: auto;
778+
margin-right: auto;
779+
}
780+
}
781+
782+
.container-fluid.td-outer {
783+
max-width: $site-max-width;
784+
margin-left: auto;
785+
margin-right: auto;
786+
}
787+
771788
h1, h2, h3, h4, h5, h6 {
772789
scroll-margin-top: 1rem;
773790
}

0 commit comments

Comments
 (0)