Skip to content

Commit

Permalink
🎨
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Jan 2, 2023
1 parent 53afc68 commit 7501609
Showing 1 changed file with 8 additions and 25 deletions.
33 changes: 8 additions & 25 deletions packages/frontend/src/ui/universal.vue
Expand Up @@ -285,8 +285,10 @@ const wallpaper = localStorage.getItem('wallpaper') != null;
z-index: 1000;
bottom: 0;
left: 0;
padding: 16px 16px calc(env(safe-area-inset-bottom, 0px) + 16px) 16px;
display: flex;
padding: 12px 12px calc(env(safe-area-inset-bottom, 0px) + 8px) 12px;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
grid-gap: 8px;
width: 100%;
box-sizing: border-box;
-webkit-backdrop-filter: var(--blur, blur(32px));
Expand All @@ -296,26 +298,15 @@ const wallpaper = localStorage.getItem('wallpaper') != null;
> .button {
position: relative;
flex: 1;
padding: 0;
aspect-ratio: 1;
width: 100%;
max-width: 60px;
margin: auto;
height: 64px;
border-radius: 8px;
border-radius: 100%;
background: var(--panel);
color: var(--fg);
&:not(:last-child) {
margin-right: 12px;
}
@media (max-width: 400px) {
height: 60px;
&:not(:last-child) {
margin-right: 8px;
}
}
&:hover {
background: var(--X2);
}
Expand All @@ -329,14 +320,6 @@ const wallpaper = localStorage.getItem('wallpaper') != null;
animation: blink 1s infinite;
}
&:first-child {
margin-left: 0;
}
&:last-child {
margin-right: 0;
}
> * {
font-size: 20px;
}
Expand Down

0 comments on commit 7501609

Please sign in to comment.