Skip to content

Commit 675862e

Browse files
committed
Add a padding for small device screen width
1 parent bcd31d7 commit 675862e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/App.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,11 @@ import StatusBar from './components/StatusBar.vue';
153153
color: #93D5FF;
154154
}
155155
156+
/* Chromium has a minimum width of 500px, but the Pi display is only 480px, so we need to add a padding here */
157+
@media (max-width: 500px) {
158+
#app {
159+
padding-right: 20px;
160+
}
161+
}
162+
156163
</style>

0 commit comments

Comments
 (0)