mirror of
https://github.com/fluxerapp/fluxer.git
synced 2026-09-02 21:04:06 +03:00
fix(ui): keep context menus clear of the native titlebar (#2371)
This commit is contained in:
@@ -239,7 +239,7 @@ function observeFloatingResize(floating: HTMLElement, updatePosition: () => void
|
||||
};
|
||||
}
|
||||
|
||||
function getNativeTitlebarInset(ownerDocument: Document): number {
|
||||
export function getNativeTitlebarInset(ownerDocument: Document): number {
|
||||
const titlebar = ownerDocument.querySelector<HTMLElement>(TITLEBAR_SELECTOR);
|
||||
if (titlebar == null) return 0;
|
||||
const rect = titlebar.getBoundingClientRect();
|
||||
@@ -250,7 +250,7 @@ function getNativeTitlebarInset(ownerDocument: Document): number {
|
||||
return Math.max(0, rect.bottom - viewportTop);
|
||||
}
|
||||
|
||||
function getBoundaryPadding(ownerDocument: Document, basePadding: number): Padding {
|
||||
export function getBoundaryPadding(ownerDocument: Document, basePadding: number): Padding {
|
||||
const titlebarInset = getNativeTitlebarInset(ownerDocument);
|
||||
if (titlebarInset <= 0) {
|
||||
return basePadding;
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "بوابات أمان المحتوى"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "النمط"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "قائمة فرعية"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Предпазни мерки за съдържанието"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Оформление"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Подменю"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Bezpečnostní brány obsahu"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Vzhled"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Podnabídka"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Indholdsfiltre"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Udseende"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Undermenu"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Inhaltssicherheits-Gates"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Design"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Untermenü"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Φίλτρα ασφάλειας περιεχομένου"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Στιλ"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Υπομενού"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Content safety gates"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Styling"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Submenu"
|
||||
|
||||
|
||||
@@ -8312,7 +8312,7 @@ msgstr "Content safety gates"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30709,7 +30709,7 @@ msgid "Styling"
|
||||
msgstr "Styling"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Submenu"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Filtros de seguridad de contenido"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Estilo"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Submenú"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Controles de seguridad del contenido"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Estilo"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Submenú"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Sisällön turvaportit"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Tyyli"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Alivalikko"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Filtres de sécurité du contenu"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Style"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Sous-menu"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "שערי בטיחות תוכן"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "עיצוב"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "תפריט משנה"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "कंटेंट सुरक्षा गेट"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "स्टाइल"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "सबमेनू"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Sigurnosne provjere sadržaja"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Stil"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Podizbornik"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Tartalombiztonsági kapuk"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Stílus"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Almenü"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Gerbang keamanan konten"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Gaya"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Submenu"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Filtri di sicurezza dei contenuti"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Stile"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Sottomenu"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "コンテンツ安全ゲート"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "スタイル"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "サブメニュー"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "콘텐츠 안전 게이트"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "스타일"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "하위 메뉴"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Turinio saugos vartai"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Stilius"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Submeniu"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Contentveiligheidsfilters"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Vormgeving"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Submenu"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Innholdsfilter"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Stil"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Undermeny"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Bramki bezpieczeństwa treści"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Wygląd"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Podmenu"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Portões de segurança de conteúdo"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Estilo"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Submenu"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Porți de siguranță conținut"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Stil"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Submeniu"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Проверка контента"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Оформление"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Подменю"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Innehållssäkerhetsgrindar"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Stil"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Undermeny"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "การคัดกรองเนื้อหา"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "สไตล์"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "เมนูย่อย"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "İçerik güvenliği denetimleri"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Stil"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Alt menü"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Ворота безпеки вмісту"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Оформлення"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Підменю"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "Cổng an toàn nội dung"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "Giao diện"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "Menu phụ"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "内容安全门"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "外观"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "子菜单"
|
||||
|
||||
|
||||
@@ -8311,7 +8311,7 @@ msgstr "內容安全閘門"
|
||||
#. Accessible label for a context menu container.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#. Settings search synonym. Used to match this term when the user types it in the settings search bar.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:22
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:23
|
||||
#: src/features/user/components/settings_utils/search_index/AccessibilityIndex.ts:225
|
||||
#: src/features/user/components/settings_utils/section_registry/SharedDescriptors.ts:154
|
||||
msgid "Context menu"
|
||||
@@ -30708,7 +30708,7 @@ msgid "Styling"
|
||||
msgstr "樣式"
|
||||
|
||||
#. Accessible label for a context menu submenu container.
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:26
|
||||
#: src/features/ui/action_menu/ContextMenu.tsx:27
|
||||
msgid "Submenu"
|
||||
msgstr "子選單"
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import Accessibility from '@app/features/accessibility/state/Accessibility';
|
||||
import {getBoundaryPadding} from '@app/features/app/hooks/useAntiShiftFloating';
|
||||
import {isKeyboardActivationKey} from '@app/features/input/utils/KeyboardUtils';
|
||||
import styles from '@app/features/ui/action_menu/ContextMenu.module.css';
|
||||
import {Scroller} from '@app/features/ui/components/Scroller';
|
||||
@@ -243,7 +244,10 @@ const RootContextMenuInner: React.FC<RootContextMenuProps> = observer(({contextM
|
||||
align={placement.align}
|
||||
sideOffset={CONTEXT_MENU_OFFSET}
|
||||
alignOffset={0}
|
||||
collisionPadding={CONTEXT_MENU_EDGE_PADDING}
|
||||
collisionPadding={getBoundaryPadding(
|
||||
resolvedPortalHost?.ownerDocument ?? document,
|
||||
CONTEXT_MENU_EDGE_PADDING,
|
||||
)}
|
||||
className={styles.contextMenuPositioner}
|
||||
data-flx="ui.action-menu.context-menu.positioner"
|
||||
>
|
||||
@@ -553,7 +557,7 @@ export const SubMenu = React.forwardRef<HTMLDivElement, SubMenuProps>(
|
||||
<BaseContextMenu.Positioner
|
||||
sideOffset={SUBMENU_OFFSET}
|
||||
className={styles.contextMenuPositioner}
|
||||
collisionPadding={CONTEXT_MENU_EDGE_PADDING}
|
||||
collisionPadding={getBoundaryPadding(portalHost?.ownerDocument ?? document, CONTEXT_MENU_EDGE_PADDING)}
|
||||
data-flx="ui.action-menu.context-menu.sub-menu.positioner"
|
||||
>
|
||||
<BaseContextMenu.Popup
|
||||
|
||||
Reference in New Issue
Block a user