logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/
commit: 1229bd2f486ca9fb97336baa6fcbdf2f8e949894
parent 68093b627656af77d66b8f0b4805c05e36864295
Author: Henry Jameson <me@hjkos.com>
Date:   Sat, 18 Jan 2025 19:15:26 +0200

use auto-fill instead of fixed column count

Diffstat:

Msrc/App.scss2--
Msrc/components/status_action_buttons/status_action_buttons.scss2+-
Msrc/components/user_card/user_card.scss4----
3 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/App.scss b/src/App.scss @@ -339,8 +339,6 @@ nav { grid-template-areas: "content"; padding: 0; - --_actionsColumnCount: 3; - .column { padding-top: 0; margin: var(--navbar-height) 0 0 0; diff --git a/src/components/status_action_buttons/status_action_buttons.scss b/src/components/status_action_buttons/status_action_buttons.scss @@ -3,7 +3,7 @@ .StatusActionButtons { .quick-action-buttons { display: grid; - grid-template-columns: repeat(var(--_actionsColumnCount, 6), 1fr); + grid-template-columns: repeat(auto-fill, 6em); grid-auto-flow: row dense; grid-auto-rows: 1fr; grid-gap: 1.25em 1em; diff --git a/src/components/user_card/user_card.scss b/src/components/user_card/user_card.scss @@ -292,10 +292,6 @@ } } -#sidebar { - --_actionsColumnCount: 4; -} - .sidebar .edit-profile-button { display: none; }