From a2c01fa820661e560476ff6747fef5fc82fcc57b Mon Sep 17 00:00:00 2001 From: Fenrir784 Date: Mon, 13 Apr 2026 15:54:47 +0300 Subject: [PATCH] Rating flex fix --- static/css/style.css | 15 ++++++++++----- templates/index.html | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 5842155..b63a66a 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -582,20 +582,25 @@ h1 { display: flex; justify-content: flex-start; align-items: center; - flex-wrap: wrap; - gap: 0.75rem; + flex-wrap: nowrap; + gap: 0.5rem; margin-bottom: 1rem; } +.rating-row.align-center { + align-items: center; +} .format-toggle-group.compact { - padding: 0.1rem; + padding: 0.15rem; width: auto; flex-shrink: 0; flex-wrap: nowrap; } .format-toggle-group.compact .format-option { - padding: 0.2rem 0.5rem; - font-size: 0.75rem; + padding: 0.2rem 0.4rem; + font-size: 0.8rem; white-space: nowrap; + flex: 0 0 auto; + border-radius: 20px; } .categories-container { display: flex; flex-direction: column; gap: 1rem; } diff --git a/templates/index.html b/templates/index.html index 8ec8259..86f443c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -157,7 +157,7 @@ -
+