From 3f5de6162da084672815339646b1576a0664ad7c Mon Sep 17 00:00:00 2001 From: ReubenUKGB <63983477+ReubenUKGB@users.noreply.github.com> Date: Sun, 3 Nov 2024 18:38:41 +0000 Subject: [PATCH 1/2] updated code css selector to be more responsive --- css/main.css | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/css/main.css b/css/main.css index 87a9b9d..c2f2106 100644 --- a/css/main.css +++ b/css/main.css @@ -13,6 +13,20 @@ code { white-space: nowrap; } +@media only screen and (max-width: 1024px) { + code { + font-family: 'Roboto Mono', monospace; + background-color: rgba(127, 140, 141, 0.1); + color: inherit; + white-space: nowrap; + white-space: nowrap; + text-overflow: ellipsis; + width: 300px; + display: block; + overflow: hidden; + } +} + .form-group { width: 100%; } @@ -165,4 +179,4 @@ body { #per-page select { width: 60px; margin-left: 5px; -} \ No newline at end of file +} From 4e1c34dd8f2cb12b5f6fb5ceac9d6846cb434d0a Mon Sep 17 00:00:00 2001 From: ReubenUKGB <63983477+ReubenUKGB@users.noreply.github.com> Date: Tue, 5 Nov 2024 15:40:14 +0000 Subject: [PATCH 2/2] removed duplicate css property --- css/main.css | 1 - 1 file changed, 1 deletion(-) diff --git a/css/main.css b/css/main.css index c2f2106..288f537 100644 --- a/css/main.css +++ b/css/main.css @@ -19,7 +19,6 @@ code { background-color: rgba(127, 140, 141, 0.1); color: inherit; white-space: nowrap; - white-space: nowrap; text-overflow: ellipsis; width: 300px; display: block;