Skip to content

A platform for community discussion. Free, open, simple.

UX: add scroll hint to toolbar popup options menu (#38249)

Keegan George769e18de8852
diff --git a/app/assets/stylesheets/common/toolbar-popup-menu-options.scss b/app/assets/stylesheets/common/toolbar-popup-menu-options.scss
index e0f1cba36ef..84af6c0ede6 100644
--- a/app/assets/stylesheets/common/toolbar-popup-menu-options.scss
+++ b/app/assets/stylesheets/common/toolbar-popup-menu-options.scss
@@ -10,6 +10,22 @@
}
}
+ .fk-d-menu__inner-content {
+ --fade-height: 2em;
+ flex-direction: column;
+
+ &::after {
+ content: "";
+ position: sticky;
+ bottom: 0;
+ flex-shrink: 0;
+ height: var(--fade-height);
+ margin-top: calc(var(--fade-height) * -1);
+ pointer-events: none;
+ background: linear-gradient(to bottom, transparent, var(--secondary));
+ }
+ }
+
.fullscreen-composer & {
z-index: z("header") + 1;
}
@@ -20,6 +36,9 @@
}
.shortcut {
+ line-height: 1;
+ vertical-align: middle;
+
&.--apple {
letter-spacing: 0.25em;
}