From 17639c43fb8c95a7fe565cf8d4ca1b289920c022 Mon Sep 17 00:00:00 2001 From: Stephen Date: Thu, 12 Sep 2024 00:06:04 +0200 Subject: [PATCH] Slide sizing --- css/host.css | 1 + css/slides.css | 1 + 2 files changed, 2 insertions(+) diff --git a/css/host.css b/css/host.css index 5f72ed1..a0515fe 100644 --- a/css/host.css +++ b/css/host.css @@ -110,6 +110,7 @@ } :host > [part="slides"] { + width: 100%; height: 100%; justify-self: stretch; } diff --git a/css/slides.css b/css/slides.css index 6b6db4d..fced5e4 100644 --- a/css/slides.css +++ b/css/slides.css @@ -98,6 +98,7 @@ /* Encourage the slides strip to grow no bigger than its content and stay centered if it ends up smaller */ width: fit-content; + max-width: 100%; margin-left: auto; margin-right: auto;