From 06d71d8b296ceadf745063fc6b39303f76c9064c Mon Sep 17 00:00:00 2001 From: Henry Seed <=> Date: Fri, 9 Sep 2022 16:22:08 +1200 Subject: [PATCH] adds small screen custom styles --- remote-card.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/remote-card.yaml b/remote-card.yaml index 3fcf761..9f0eb16 100644 --- a/remote-card.yaml +++ b/remote-card.yaml @@ -169,3 +169,11 @@ elements: left: 84.5% transform: translate(-50%, -50%) scale(380%, 380%) opacity: 0 +card_mod: + style: | + .type-picture-elements { + min-height: 500px; + max-height: 100vh; + min-width: 268px; + max-width: min(calc((100vh - 70px) * 1125/2095), 400px); + }