Skip to content

Commit

Permalink
Add a padding for small device screen width
Browse files Browse the repository at this point in the history
  • Loading branch information
g3force committed Jun 27, 2022
1 parent bcd31d7 commit 675862e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,11 @@ import StatusBar from './components/StatusBar.vue';
color: #93D5FF;
}
/* Chromium has a minimum width of 500px, but the Pi display is only 480px, so we need to add a padding here */
@media (max-width: 500px) {
#app {
padding-right: 20px;
}
}
</style>

0 comments on commit 675862e

Please sign in to comment.