Skip to content

Commit c778f45

Browse files
committed
fix: resolve text truncation and optimize responsiveness on intermediate screens (#934)
Signed-off-by: Junnygram <junnexclusive@gmail.com>
1 parent beeb3b4 commit c778f45

1 file changed

Lines changed: 14 additions & 9 deletions

File tree

assets/scss/_styles_project.scss

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -531,13 +531,14 @@ a:not([href]):not([class]):hover {
531531
-webkit-background-clip: text;
532532
animation: color-shift 8s linear infinite;
533533

534+
@media (max-width: 1200px) {
535+
font-size: 4rem;
536+
}
537+
534538
@media (max-width: 768px) {
535-
font-size: 3.5rem;
539+
font-size: 3rem;
536540
text-align: center;
537541
}
538-
539-
// @media (max-width:1200px){
540-
// }
541542
}
542543

543544
@keyframes color-shift {
@@ -616,17 +617,21 @@ a:not([href]):not([class]):hover {
616617
text-align: right;
617618

618619
h1.dashboard {
619-
max-width: 40%;
620+
max-width: 70%;
620621
text-align: left;
621-
flex-shrink: 0;
622+
flex-shrink: 0;
623+
@media (max-width: 1200px) {
624+
max-width: 60%;
625+
}
622626
}
623627

624-
@media (max-width: 768px) {
628+
@media (max-width: 1100px) {
625629
flex-wrap: wrap;
626630
justify-content: center;
631+
text-align: center;
627632

628633
h1.dashboard {
629-
max-width: 100%;
634+
max-width: 100% !important;
630635
text-align: center;
631636
}
632637
}
@@ -651,7 +656,7 @@ a:not([href]):not([class]):hover {
651656
color: #EBC017;
652657
}
653658

654-
@media (max-width: 768px) {
659+
@media (max-width: 1100px) {
655660
margin: 2rem 0 0 0;
656661
}
657662
}

0 commit comments

Comments
 (0)