From 42f4f4cb6f21da4eee306cac74ada150d684ec51 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 18 Dec 2021 18:38:01 +0700 Subject: [PATCH] improved sort order mobile layout on home --- tubearchivist/home/templates/home/home.html | 41 ++++++++++----------- tubearchivist/static/css/style.css | 4 ++ 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/tubearchivist/home/templates/home/home.html b/tubearchivist/home/templates/home/home.html index d61a163..28818ab 100644 --- a/tubearchivist/home/templates/home/home.html +++ b/tubearchivist/home/templates/home/home.html @@ -7,27 +7,26 @@
-

Sort by {{ sort_by }} - - -

+ Sort by {{ sort_by }} + +
diff --git a/tubearchivist/static/css/style.css b/tubearchivist/static/css/style.css index 27ebbc5..e284a67 100644 --- a/tubearchivist/static/css/style.css +++ b/tubearchivist/static/css/style.css @@ -525,6 +525,10 @@ button:hover { margin-bottom: 10px; } +.sort span { + width: 100%; +} + /* login */ .login-page { display: flex;