Skip to content

Commit 5571006

Browse files
committed
fix: add responsivity to shell for mobile devices
1 parent 78fac21 commit 5571006

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/lib/layout/shell.svelte

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,16 @@
273273
margin-right: 10px;
274274
margin-left: 48px;
275275
overflow: auto;
276+
277+
@media (max-width: 767px) {
278+
width: 100vw;
279+
max-width: 100vw;
280+
margin-left: 0;
281+
margin-right: 0;
282+
height: auto;
283+
min-height: 100vh;
284+
}
285+
276286
@media (min-width: 1024px) {
277287
width: 100%;
278288
padding-left: 190px;

0 commit comments

Comments
 (0)