From a480bdeac867d6a589cdfc89ceaf05e4cfa84b67 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Fri, 12 Jul 2024 23:48:06 +0100 Subject: Improve computers page, change page width to 975px to compensate for scrollbars --- public/css/master.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'public/css/master.css') diff --git a/public/css/master.css b/public/css/master.css index 190d2a5..3fbd078 100644 --- a/public/css/master.css +++ b/public/css/master.css @@ -109,7 +109,7 @@ button:hover { div.page { /*min-width: 1000px;*/ /*max-width: 1100px;*/ - width: 1000px; + width: 975px; padding-left: 0.5em; padding-right: 0.5em; margin: auto; @@ -252,14 +252,10 @@ a:hover img.navbar-icon { /* ── Computers ───────────────────────────────────────────────────────────────────── */ table.computers { + table-layout: auto; width: 100%; } -table.computers td:first-child { - width: 350px; - text-align: center; - font-weight: bold; -} table.computers td ul { margin: 0; padding-left: 20px; @@ -280,6 +276,10 @@ table.computers th { background-color: var(--background-secondary); } +table.computers td:first-child { + white-space: nowrap; +} + table.computers td, table.computers th { border: var(--foreground) solid 1px; -- cgit v1.2.3-54-g00ecf