diff --git a/packages/frontend/src/ui/deck.vue b/packages/frontend/src/ui/deck.vue index d7f4c0026..143dcdad6 100644 --- a/packages/frontend/src/ui/deck.vue +++ b/packages/frontend/src/ui/deck.vue @@ -48,10 +48,10 @@
- - - - + + + +
@@ -351,33 +351,28 @@ async function deleteProfile() { z-index: 1000; bottom: 0; left: 0; - padding: 16px; - display: flex; + padding: 12px 12px max(12px, env(safe-area-inset-bottom, 0px)) 12px; + display: grid; + grid-template-columns: 1fr 1fr 1fr 1fr; + grid-gap: 8px; width: 100%; box-sizing: border-box; + -webkit-backdrop-filter: var(--blur, blur(32px)); + backdrop-filter: var(--blur, blur(32px)); + background-color: var(--header); + border-top: solid 0.5px var(--divider); > .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); } @@ -391,25 +386,22 @@ async function deleteProfile() { animation: blink 1s infinite; } - &:first-child { - margin-left: 0; - } - - &:last-child { - margin-right: 0; - } - - > * { - font-size: 20px; + > .icon { + font-size: 18px; } &:disabled { cursor: default; - > * { + > .icon { opacity: 0.5; } } + + &.post { + background: linear-gradient(90deg, var(--buttonGradateA), var(--buttonGradateB)); + color: var(--fgOnAccent); + } } }