From 72f7b51776ed7daaa5d9ffd9a2f462e66444d04c Mon Sep 17 00:00:00 2001 From: Freeplay Date: Mon, 9 Jan 2023 19:55:40 -0500 Subject: [PATCH] More status buttons per few pixels (?) --- packages/client/src/components/MkNote.vue | 36 +++++------------------ 1 file changed, 7 insertions(+), 29 deletions(-) diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index 7bde0f959c..3cc89c5f8e 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -593,14 +593,16 @@ function readPromo() { } > .footer { + display: flex; + flex-wrap: wrap; + margin-left: -.5em; > .button { margin: 0; padding: 8px; opacity: 0.7; - - &:not(:last-child) { - margin-right: 16px; - } + flex-grow: 1; + max-width: 3.5em; + min-width: max-content; &:hover { color: var(--fgHighlighted); @@ -647,34 +649,10 @@ function readPromo() { } } - &.max-width_350px { - > .article { - > .main { - > .footer { - > .button { - &:not(:last-child) { - margin-right: 18px; - } - } - } - } - } - } + &.max-width_300px { --avatarSize: 40px; - > .article { - - > .main { - > .footer { - > .button { - &:not(:last-child) { - margin-right: 12px; - } - } - } - } - } } }