From 8a78927ba565ea2b44542380e2f64e0ad33a30a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederik=20Palm=C3=B8?= Date: Mon, 11 Apr 2022 00:55:42 +0200 Subject: [PATCH] improved responsiveness of weapon finder --- src/style/main.css | 10 ++++++++++ src/weapon.html | 44 +++++++++++++++++++++++++------------------- 2 files changed, 35 insertions(+), 19 deletions(-) diff --git a/src/style/main.css b/src/style/main.css index a773c84..0fd87ee 100644 --- a/src/style/main.css +++ b/src/style/main.css @@ -182,23 +182,33 @@ li { } table { + overflow-x: auto; text-align: center; width: 100%; height: 100%; border: 1px solid var(--border); border-radius: 5px; border-spacing: 0px; + overflow: scroll; background-color: var(--primary); } +table tbody, +table thead { + width: 100%; +} + th { border-bottom: 1px solid var(--border); } td, th { + overflow: scroll; + text-overflow: ellipsis; padding: 0.4rem; + font-size: 0.9rem; } thead, diff --git a/src/weapon.html b/src/weapon.html index e68ac01..2b2b057 100644 --- a/src/weapon.html +++ b/src/weapon.html @@ -34,7 +34,7 @@
-
+
Parameters
-
+
Results
-
+
@@ -309,85 +309,91 @@ @@ -398,7 +404,7 @@ -
+
Categories