From ad410edd23ca9fd57e67d3e26ff45fb41a1155de Mon Sep 17 00:00:00 2001 From: JackBro <33984760+JackBro2022@users.noreply.github.com> Date: Tue, 26 Apr 2022 00:17:22 +1000 Subject: [PATCH] Better support for 4k screens --- html/css/drawtext.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/html/css/drawtext.css b/html/css/drawtext.css index 489e967..d4769a6 100644 --- a/html/css/drawtext.css +++ b/html/css/drawtext.css @@ -25,6 +25,20 @@ box-shadow: 0rem 0rem 0.1rem 0.05rem #000000; } +@media (width: 3840px) and (height: 2160px) { + #drawtext-container { + display: none; + width: 100%; + height: 100%; + overflow: hidden; + padding: 0; + margin: 0; + font-family: "Poppins", sans-serif !important; + font-weight: 300; + font-size: 1.5vh; + } +} + .text.pressed { background: var(--active-bg); }