From a137230da1737ff8427a2b65b26bdc8e92d80ab3 Mon Sep 17 00:00:00 2001 From: Timon Ringwald Date: Sun, 8 May 2022 22:19:44 +0200 Subject: [PATCH] scale bookmark icons on mobile layout --- templates/style.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/style.css b/templates/style.css index b1a84b7..615b3eb 100644 --- a/templates/style.css +++ b/templates/style.css @@ -164,4 +164,11 @@ main { background-repeat: no-repeat; border-radius: {{ .BorderRadius }}; +} + +@media screen and (max-width: 30em) { + .bookmark { + width: calc({{ .IconWidth }} * 0.5); + height: calc({{ .IconHeight }} * 0.5); + } } \ No newline at end of file