From 922d80a7fab01bcfaf9cbf5cedcbd00d4f9f6bde Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Mon, 7 Apr 2025 14:20:11 -0500 Subject: [PATCH] Correct merge goof --- app/assets/stylesheets/buttons.css | 30 +++++------------------------- 1 file changed, 5 insertions(+), 25 deletions(-) diff --git a/app/assets/stylesheets/buttons.css b/app/assets/stylesheets/buttons.css index cd5bd830a..3b6b3ebcc 100644 --- a/app/assets/stylesheets/buttons.css +++ b/app/assets/stylesheets/buttons.css @@ -33,31 +33,10 @@ } } - /* Circle buttons */ - &.btn--circle, - &[aria-label]:where(:has(.icon)), - &:where(:has(.for-screen-reader):has(.icon)) { - --btn-border-radius: 50%; - --btn-padding: 0; - - aspect-ratio: 1; - block-size: var(--btn-size); - display: grid; - inline-size: var(--btn-size); - place-items: center; - - > * { - grid-area: 1/1; - } - } - - /* With radios and checkboxes */ - &:has(input[type=radio]), - &:has(input[type=checkbox]) { - position: relative; - - :is(input[type=radio]), - :is(input[type=checkbox]) { + &:where(.avatar) { + --btn-border-radius: var(--avatar-border-radius); + --btn-padding: 0; + --btn-border-size: 0; --hover-size: 0; aspect-ratio: 1; @@ -87,6 +66,7 @@ /* Circle buttons */ &.btn--circle, + &[aria-label]:where(:has(.icon)), &:where(:has(.for-screen-reader):has(.icon)) { --btn-border-radius: 50%; --btn-padding: 0;