Skip to content

Commit 38b3533

Browse files
committed
fix: Style alignment in Main-menu
Signed-off-by: Sbragul26 <sbragul26@gmail.com>
1 parent f761ed0 commit 38b3533

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

assets/scss/_styles_project.scss

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -611,11 +611,23 @@ a:not([href]):not([class]):hover {
611611
.dash-sign-container {
612612
display: flex;
613613
align-items: center;
614+
justify-content: space-between;
614615
text-align: right;
615616

617+
h1.dashboard {
618+
max-width: 40%;
619+
text-align: left;
620+
flex-shrink: 0;
621+
}
622+
616623
@media (max-width: 768px) {
617624
flex-wrap: wrap;
618625
justify-content: center;
626+
627+
h1.dashboard {
628+
max-width: 100%;
629+
text-align: center;
630+
}
619631
}
620632

621633
a.dash-sign {
@@ -630,18 +642,16 @@ a:not([href]):not([class]):hover {
630642
position: relative;
631643
width: auto;
632644
white-space: nowrap;
633-
// top: 50%;
634-
// left: 50%;
635645
padding: 2rem;
636-
margin: 15rem;
637-
transform: translateX(-50%) translateY(-50%);
646+
margin: 0;
647+
transform: translateX(0%) translateY(0%);
638648

639649
&:hover {
640-
color: "#EBC017" !important;
650+
color: "#EBC017";
641651
}
642652

643-
@media (max-width: 1440px) {
644-
margin: 0rem;
653+
@media (max-width: 768px) {
654+
margin: 2rem 0 0 0;
645655
}
646656
}
647657

@@ -657,7 +667,6 @@ a:not([href]):not([class]):hover {
657667
border: 8px solid $primary;
658668
transform: translateX(-50%) translateY(-50%) rotate(0deg);
659669
animation: 6s alternate ease-in-out tipsy;
660-
// animation-play-state: paused;
661670
}
662671

663672
a.dash-sign:before {
@@ -672,11 +681,10 @@ a:not([href]):not([class]):hover {
672681

673682
a.dash-sign:visited {
674683
color: $white;
675-
// animation-play-state: running;
676684
}
677685

678686
a.dash-sign:hover {
679-
color: #ebc017 !important;
687+
color: #ebc017;
680688
}
681689
}
682690

0 commit comments

Comments
 (0)