summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorosmarks <osmarks>2021-06-14 18:21:29 +0000
committerosmarks <osmarks>2021-06-14 18:21:29 +0000
commit08c27eef1f5f5971866dbc43f6191c3f02557544 (patch)
treec34cb8bcdb7dc94005776718d3e45b5dbe74c919
parente79b5092fc147532c23d02d2e0d8d9f5d5f3eaa8 (diff)
optimize or worsen mobile use
-rw-r--r--apioforum/static/style.css5
1 files changed, 2 insertions, 3 deletions
diff --git a/apioforum/static/style.css b/apioforum/static/style.css
index 1ff0eff..cc06258 100644
--- a/apioforum/static/style.css
+++ b/apioforum/static/style.css
@@ -50,10 +50,9 @@ body { font-family: sans-serif }
img { max-width: 100% }
-nav { width:max-content; padding: 5px; margin: 2px; border: 1px solid black; display:flex; align-items: center }
+nav { float: right; padding: 5px; margin: 2px; border: 1px solid black; display:flex; align-items: center; flex-wrap: wrap }
nav p { margin-left: 15px; margin-top: 0; margin-bottom: 0; margin-right: 10px; padding: 0 }
nav p:first-of-type { margin-left:0.5em }
-nav { float: right }
nav a { color: blue; text-decoration: none }
/* todo: make the navbar less bad */
@@ -151,5 +150,5 @@ blockquote {
}
.search-form {
- display: inline;
+ display: inline-block;
} \ No newline at end of file