Skip to content

Commit 2d7be38

Browse files
committed
Add max-width rule to viewport class
This allows the viewport to go smaller than 800px on mobile
1 parent 51e88b2 commit 2d7be38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ui/src/App.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@
6767

6868
<style>
6969
.viewport {
70-
width: 800px;
70+
width: 100%;
71+
max-width: 800px;
7172
margin: 50px auto;
7273
}
7374
</style>

0 commit comments

Comments
 (0)