Skip to content

Commit

Permalink
Slide sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
stephband committed Sep 11, 2024
1 parent 931f1f3 commit 17639c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions css/host.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
}

:host > [part="slides"] {
width: 100%;
height: 100%;
justify-self: stretch;
}
Expand Down
1 change: 1 addition & 0 deletions css/slides.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 17639c4

Please sign in to comment.