Skip to content

Commit

Permalink
remove padding from content in slideshow example
Browse files Browse the repository at this point in the history
  • Loading branch information
rodja committed Sep 7, 2023
1 parent cb4c4fc commit c21da76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/slideshow/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c21da76

Please sign in to comment.