Improve mobile responsiveness

This commit is contained in:
Zed
2022-01-06 15:21:42 +01:00
parent ffcac982d0
commit f21e192a8f
7 changed files with 16 additions and 9 deletions

View File

@@ -51,9 +51,10 @@
margin-bottom: unset;
}
@media(max-width: 600px) {
@media(max-width: 700px) {
.profile-tabs {
width: 100vw;
max-width: 600px;
.timeline-container {
width: 100% !important;
@@ -71,3 +72,9 @@
padding: 0;
}
}
@media (min-height: 900px) {
.profile-tab.sticky {
position: sticky;
}
}

View File

@@ -103,7 +103,7 @@
color: var(--profile_stat);
}
@media(max-width: 600px) {
@media(max-width: 700px) {
.profile-card-info {
display: flex;
}

View File

@@ -59,7 +59,7 @@
padding-bottom: 12px;
}
@media(max-width: 600px) {
@media(max-width: 700px) {
.photo-rail-header {
display: none;
}
@@ -74,9 +74,7 @@
overflow: hidden;
transition: max-height 0.4s;
}
}
@media(max-width: 600px) {
.photo-rail-grid {
grid-template-columns: repeat(6, 1fr);
}