summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorMatthew McGarvey <matthew@sociallyu.com>2020-10-07 23:01:18 -0500
committerMatthew McGarvey <matthew@sociallyu.com>2020-10-07 23:01:18 -0500
commit5937e0289ea3db346937ce4ccd6234ca03b9db36 (patch)
treebd081f82cac385c2493d4e026c2e5a34b758cc39 /assets
parent1978c3d3bd9b3221b4dd47a4ad779708cef984f5 (diff)
downloadinvidious-5937e0289ea3db346937ce4ccd6234ca03b9db36.tar.gz
invidious-5937e0289ea3db346937ce4ccd6234ca03b9db36.tar.bz2
invidious-5937e0289ea3db346937ce4ccd6234ca03b9db36.zip
Fix feed menu overlap at ipad screen widths
Diffstat (limited to 'assets')
-rw-r--r--assets/css/default.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index ea139b40..b7a77be6 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -60,6 +60,22 @@ body {
color: rgb(255, 0, 0);
}
+.feed-menu {
+ display: flex;
+ justify-content: center;
+ flex-wrap: wrap;
+}
+
+.feed-menu-item {
+ text-align: center;
+}
+
+@media screen and (max-width: 640px) {
+ .feed-menu-item {
+ flex: 0 0 40%;
+ }
+}
+
.h-box {
padding-left: 1em;
padding-right: 1em;