Resize header padding when lower 400px & dropdown-toggle margin fix

This commit is contained in:
Ferit Yiğit BALABAN
2022-07-21 20:25:54 +03:00
parent 5f1b72c65b
commit a1482b6645
3 changed files with 13 additions and 1 deletions

View File

@@ -24,6 +24,12 @@
}
}
@mixin header_overflow3 {
@media screen and (max-width: variables.$header_overflow3) {
@content;
}
}
@mixin mx_index_brands_fix {
@media screen and (max-width: variables.$index_brands_fix) {
@content;

View File

@@ -1,5 +1,6 @@
$header_overflow: 1200px;
$header_overflow2: 850px;
$header_overflow3: 360px;
$index_brands_fix: 1100px;
$index_brands_fix2: 850px;
$footer_overflow: 1200px;

View File

@@ -407,6 +407,11 @@ a:hover {
padding: 0 50px;
}
}
@media screen and (max-width: 360px) {
#header {
padding: 0 25px;
}
}
#header #logo {
display: flex;
align-items: center;
@@ -462,7 +467,7 @@ a:hover {
display: none;
}
#header .dropdown-toggle {
margin: 0 auto 0;
margin: 0;
width: 36px;
height: 36px;
position: relative;