From cafb17d21fc8a41d0fe0880864e15cf6e5207dfd Mon Sep 17 00:00:00 2001 From: Andy Smith Date: Fri, 10 Oct 2025 16:38:38 -0500 Subject: [PATCH] Tray toggle height should match card size --- app/assets/stylesheets/trays.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/stylesheets/trays.css b/app/assets/stylesheets/trays.css index f36927d1c..11c902cf5 100644 --- a/app/assets/stylesheets/trays.css +++ b/app/assets/stylesheets/trays.css @@ -119,6 +119,11 @@ /* On desktop… */ @media (min-width: 800px) { + .tray__dialog:not([open]):has(.tray__item:not(.tray__item--hat)) ~ & { + block-size: var(--tray-item-height); + translate: 0 -1.85rem; + } + /* Hide the UI when collapsed, but only if there are items */ .tray__dialog:not([open]):has(.tray__item--notification) ~ & { opacity: 0;