Skip to content

Commit 2d5db26

Browse files
committed
mobile: tweaks for the mobile version
1 parent 044c381 commit 2d5db26

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

modules/core/site.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ div.unseen,
955955

956956
/* mobile */
957957
.mobile {
958-
font-size: 90%;
958+
font-size: 100%;
959959
min-width: 100%;
960960
background: none;
961961
}
@@ -992,12 +992,13 @@ div.unseen,
992992
width: 100%;
993993
}
994994
.mobile .content_title {
995-
padding-top: 0;
995+
padding-top: 12px;
996996
display: flex;
997997
max-height: 35rem;
998998
align-items: center;
999999
flex-wrap: wrap;
10001000
gap: 0.5rem;
1001+
border-top: none;
10011002
}
10021003
.mobile .list_meta,
10031004
.mobile .search_form {
@@ -1405,12 +1406,13 @@ div.unseen,
14051406
.mobile nav.folder_cell {
14061407
position: absolute;
14071408
inset: 0;
1408-
width: 100%;
1409+
width: 30%;
14091410
min-height: 100vh;
14101411
height: 100%;
14111412
z-index: 1000;
14121413
transform: translateX(-120%);
14131414
transition: transform 0.3s;
1415+
border-right: 1px solid var(--bs-secondary-bg);
14141416
}
14151417

14161418
.menu-toggle {
@@ -1655,4 +1657,10 @@ a[disabled] {
16551657
font-size: 0.6rem;
16561658
margin-right: 0;
16571659
}
1660+
1661+
.mobile nav.folder_cell { width: 50%; }
1662+
}
1663+
1664+
@media (max-width: 575px) {
1665+
.mobile nav.folder_cell { width: 100%; }
16581666
}

modules/nux/site.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
.quick_add_multiple_server_form { padding-top: 10px; display: block; }
2525
/* .quick_add_multiple_server_form .server_form { display: none; } */
2626
.mobile .quick_add_section, .mobile .quick_add_multiple_section { padding-left: 0px; }
27-
.mobile .nux_dev_news, .mobile .nux_help, .mobile .nux_welcome { max-width: 90%; width: 90%; margin: 10px auto; padding-left: 10px; padding-right: 5px; float: none; min-height: 200px; }
27+
.mobile .nux_dev_news, .mobile .nux_help, .mobile .nux_welcome { max-width: 90%; width: 90%; margin: 10px auto; padding-left: 0px; padding-right: 0px; float: none; min-height: 10px; }
2828
.mobile .nux_dev_news { width: 90%; overflow: hidden; }
2929
.mobile .nux_welcome ul { padding-left: 10px; }

0 commit comments

Comments
 (0)