Merge pull request #1287 from basecamp/tray-trigger-height

Tray toggle height should match card size
This commit is contained in:
Andy Smith
2025-10-10 16:41:35 -05:00
committed by GitHub
+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;