From 08c27eef1f5f5971866dbc43f6191c3f02557544 Mon Sep 17 00:00:00 2001 From: osmarks Date: Mon, 14 Jun 2021 18:21:29 +0000 Subject: optimize or worsen mobile use --- apioforum/static/style.css | 5 ++--- 1 file 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 -- cgit v1.2.3