From 37f12ad067c77dc05ad9b5e9e5af60a5fd405a6d Mon Sep 17 00:00:00 2001 From: jabuxas Date: Thu, 17 Oct 2024 18:11:39 -0300 Subject: [PATCH] fix: make files cover all space available --- templates/files.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/files.html b/templates/files.html index f38a0db..abbf7b5 100644 --- a/templates/files.html +++ b/templates/files.html @@ -138,7 +138,7 @@ display: flex; justify-content: center; align-items: center; - padding: 20px; + padding: 10px; } img, @@ -162,15 +162,19 @@ } pre { + flex: 1; + width: 100%; + height: 100%; white-space: pre; font-family: monospace; font-size: 1rem; background-color: #2e2e2e; - padding: 20px; + padding: 10px; border-radius: 8px; overflow: auto; scrollbar-width: thin; scrollbar-color: #686868 #2e2e2e; + box-sizing: border-box; } pre::-webkit-scrollbar {