From c21da764800508e24ece308b5b80eba0bc4121b5 Mon Sep 17 00:00:00 2001 From: Rodja Trappe Date: Thu, 7 Sep 2023 05:01:28 +0200 Subject: [PATCH] remove padding from content in slideshow example --- examples/slideshow/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/slideshow/main.py b/examples/slideshow/main.py index 8558304df..8bb473a19 100755 --- a/examples/slideshow/main.py +++ b/examples/slideshow/main.py @@ -4,6 +4,8 @@ from nicegui import app, ui from nicegui.events import KeyEventArguments +ui.query('.nicegui-content').classes('p-0') # remove padding from the main content + folder = Path(__file__).parent / 'slides' # image source: https://pixabay.com/ files = sorted(f.name for f in folder.glob('*.jpg')) index = 0