From 7db9d972aa1bfe46d6d534b556c8318e3ab4ee5b Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Mon, 21 Jul 2025 16:53:52 -0500 Subject: [PATCH 1/2] Don't justify content for avatar buttons to make FF happy --- app/assets/stylesheets/avatars.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/stylesheets/avatars.css b/app/assets/stylesheets/avatars.css index e3f15d4ab..7081edf80 100644 --- a/app/assets/stylesheets/avatars.css +++ b/app/assets/stylesheets/avatars.css @@ -22,6 +22,11 @@ max-inline-size: 100%; object-fit: cover; } + + /* FF fix */ + &.btn { + justify-content: normal; + } } .avatar__form { From a0ae6dccd6d285808eee9d9f1b5c5be377454ec1 Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Mon, 21 Jul 2025 16:57:44 -0500 Subject: [PATCH 2/2] Move fix to the existing btn--circle class --- app/assets/stylesheets/avatars.css | 5 ----- app/assets/stylesheets/buttons.css | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/assets/stylesheets/avatars.css b/app/assets/stylesheets/avatars.css index 7081edf80..e3f15d4ab 100644 --- a/app/assets/stylesheets/avatars.css +++ b/app/assets/stylesheets/avatars.css @@ -22,11 +22,6 @@ max-inline-size: 100%; object-fit: cover; } - - /* FF fix */ - &.btn { - justify-content: normal; - } } .avatar__form { diff --git a/app/assets/stylesheets/buttons.css b/app/assets/stylesheets/buttons.css index 49b9aafb3..5c787aeea 100644 --- a/app/assets/stylesheets/buttons.css +++ b/app/assets/stylesheets/buttons.css @@ -73,6 +73,7 @@ block-size: var(--btn-size); display: grid; inline-size: var(--btn-size); + justify-content: normal; /* FF fix */ place-items: center; > * {