Skip to content

Commit fe73ccb

Browse files
authored
Merge pull request #1656 from pom2ter/mobile-tweaks-2
fix(frontend): more tweaks to the mobile version
2 parents 587b49f + 012c556 commit fe73ccb

File tree

1 file changed

+23
-13
lines changed

1 file changed

+23
-13
lines changed

modules/core/site.css

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ button {
507507
padding-top: 20px;
508508
letter-spacing: -1px;
509509
gap: 1rem;
510+
font-size: 1.25rem;
510511
}
511512
.header_subject .content_title {
512513
color: #555;
@@ -982,13 +983,14 @@ div.unseen,
982983
.mobile .folder_list {
983984
margin-right: 0px;
984985
width: 100%;
986+
padding-top: 0px;
985987
}
986988
.mobile .folder_list li {
987989
padding-top: 5px;
988990
padding-bottom: 5px;
989991
}
990992
.mobile .content_cell {
991-
padding-top: 60px;
993+
padding-top: 55px;
992994
display: block;
993995
width: 100%;
994996
}
@@ -998,7 +1000,7 @@ div.unseen,
9981000
max-height: 35rem;
9991001
align-items: center;
10001002
flex-wrap: wrap;
1001-
gap: 0.5rem;
1003+
gap: 2rem;
10021004
border-top: none;
10031005
}
10041006
.mobile .list_meta,
@@ -1022,9 +1024,6 @@ div.unseen,
10221024
.mobile .message_table {
10231025
padding-left: 5px !important;
10241026
}
1025-
.mobile .message_list {
1026-
margin-top: 30px !important;
1027-
}
10281027
.mobile .list_settings_link {
10291028
width: 24px;
10301029
height: 24px;
@@ -1037,6 +1036,7 @@ div.unseen,
10371036
word-break: break-all;
10381037
word-wrap: break-word;
10391038
font-size: 100%;
1039+
padding-top: 10px !important;
10401040
}
10411041
.mobile .msg_controls {
10421042
z-index: 1000;
@@ -1054,9 +1054,6 @@ div.unseen,
10541054
top: 12px;
10551055
height: 26px;
10561056
}
1057-
.mobile .toggle_link {
1058-
height: 17px !important;
1059-
}
10601057
.mobile .search_form {
10611058
margin-left: -18px !important;
10621059
}
@@ -1139,7 +1136,7 @@ div.unseen,
11391136
display: none;
11401137
}
11411138
.mobile .checkbox_cell {
1142-
width: 35px;
1139+
width: 25px;
11431140
padding-top: 15px !important;
11441141
}
11451142
.mobile .checkbox_cell label {
@@ -1169,7 +1166,7 @@ div.unseen,
11691166
height: 24px;
11701167
}
11711168
.mobile .toggle_link {
1172-
padding: 4px 6px !important;
1169+
padding: 0px 6px !important;
11731170
line-height: normal !important;
11741171
margin-left: -3px !important;
11751172
position: relative;
@@ -1410,7 +1407,7 @@ div.unseen,
14101407
width: 30%;
14111408
min-height: 100vh;
14121409
height: 100%;
1413-
z-index: 1000;
1410+
z-index: 1001;
14141411
transform: translateX(-120%);
14151412
transition: transform 0.3s;
14161413
border-right: 1px solid var(--bs-secondary-bg);
@@ -1432,7 +1429,7 @@ div.unseen,
14321429
z-index: 1000;
14331430
text-align: left;
14341431
top: 0;
1435-
padding: 15px 0 15px 20px;
1432+
padding: 10px 0 10px 20px;
14361433
background: #fff;
14371434
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
14381435
backdrop-filter: blur(10px);
@@ -1479,7 +1476,7 @@ div.unseen,
14791476
backdrop-filter: none;
14801477
width: fit-content;
14811478
margin-left: 0;
1482-
padding: 15px 20px;
1479+
padding: 10px 20px;
14831480
}
14841481

14851482
.mobile .app-logo{
@@ -1624,6 +1621,11 @@ a[disabled] {
16241621
display: none;
16251622
}
16261623

1624+
.mobile .folders {
1625+
margin-top: 1rem;
1626+
margin-left: 1rem !important;
1627+
}
1628+
16271629
/* Mobile responsive overrides for Bootstrap classes */
16281630
@media (max-width: 768px) {
16291631
.small_header {
@@ -1664,4 +1666,12 @@ a[disabled] {
16641666

16651667
@media (max-width: 575px) {
16661668
.mobile nav.folder_cell { width: 100%; }
1669+
.mobile #list_controls_menu.show { left: auto; right: 0px; }
1670+
.mobile .calendar .month_label { padding: 1rem !important; }
1671+
.mobile .calendar .border.m-4 { margin: 1rem !important; }
1672+
.mobile .content_title { gap: 0.25rem; }
1673+
.mobile .message_list { position: relative; }
1674+
.mobile .message_list .list_controls.on_mobile {
1675+
position: absolute; top: 12px; right: 15px;
1676+
}
16671677
}

0 commit comments

Comments
 (0)