Tray toggle height should match card size

This commit is contained in:
Andy Smith
2025-10-10 16:38:38 -05:00
parent 3c4266f689
commit cafb17d21f
+5
View File
@@ -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;