mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
Mobile menu: hide Feedback while a submenu is open, keep it last in the ☰ panel
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
d3b0d8ccdd
commit
3e84e18535
2 files changed
+8
-2
No files matched your search
+7
-1
@@ -189,6 +189,11 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Feedback is a plain button between Extras and Help; in the ☰ panel it goes last. */
|
||||
.ts-menubar-items.ts-nova-menu-panel-open > .ts-menubar-feedback {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
/* The panel itself docks flush against the right viewport edge, so its nested
|
||||
submenus must open leftward instead of the default rightward - opening right
|
||||
here would run straight off-screen. */
|
||||
@@ -5604,7 +5609,8 @@ input.ts-identities-uid {
|
||||
}
|
||||
|
||||
/* One submenu open: hide its siblings, its trigger becomes the back row. */
|
||||
.ts-app.ts-mobile .ts-nova-menu-panel-open:has(> .ts-menubar-dropdown > .ts-menu) > .ts-menubar-dropdown:not(:has(> .ts-menu)) {
|
||||
.ts-app.ts-mobile .ts-nova-menu-panel-open:has(> .ts-menubar-dropdown > .ts-menu) > .ts-menubar-dropdown:not(:has(> .ts-menu)),
|
||||
.ts-app.ts-mobile .ts-nova-menu-panel-open:has(> .ts-menubar-dropdown > .ts-menu) > .ts-menubar-feedback {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -13134,7 +13134,7 @@ function AppInner() {
|
||||
{IS_OWN_HOSTED_INSTANCE && (
|
||||
<button
|
||||
type="button"
|
||||
className="ts-menubar-item ts-plain-button"
|
||||
className="ts-menubar-item ts-plain-button ts-menubar-feedback"
|
||||
onClick={() => setFeedbackOpen(true)}
|
||||
>
|
||||
💬 {t("menu.extras.feedback")}
|
||||
|
||||
Reference in new issue
Block a user