[OCaml] Mobile-friendly clone of cgit.
fix stop footer from sticking to bottom on mobile
lib/static/styles.css
@@ -1067,15 +1067,8 @@
1067
1067
}
1068
1068
1069
1069
@media (max-width: 600px) {
1070
Removed:
html, body {
1071
Removed:
height: 100%;
1072
Removed:
overflow: hidden;
1073
Removed:
overscroll-behavior: none;
1074
Removed:
}
1075
Removed:
1076
1070
body {
1077
Removed:
display: flex;
1078
Removed:
flex-direction: column;
1071
Added:
padding-bottom: 60px;
1079
1072
}
1080
1073
1081
1074
#page-header {
@@ -1084,12 +1077,12 @@
1084
1077
1085
1078
#main {
1086
1079
padding: 0 0.5em;
1087
Removed:
padding-bottom: 60px;
1088
Removed:
flex: 1;
1089
Removed:
overflow-y: auto;
1090
Removed:
-webkit-overflow-scrolling: touch;
1091
1080
}
1092
1081
1082
Added:
footer {
1083
Added:
padding: 0 0.5em;
1084
Added:
}
1085
Added:
1093
1086
.commit-author {
1094
1087
display: flex;
1095
1088
}
@@ -1110,11 +1103,6 @@
1110
1103
.commit-author {
1111
1104
margin-left: auto;
1112
1105
padding-bottom: 0.5em;
1113
Removed:
}
1114
Removed:
1115
Removed:
footer {
1116
Removed:
padding: 0 0.5em;
1117
Removed:
padding-bottom: 60px;
1118
1106
}
1119
1107
1120
1108
.nav-hamburger {