From 8a92b2d803027aea01f67e62638326a8ac4136de Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Fri, 21 Oct 2022 16:48:36 +0200 Subject: [PATCH 1/2] fix admin list --- css/admin.css | 14 +++++++++++--- templates/settings/admin-form.php | 2 -- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/css/admin.css b/css/admin.css index f32892e..0e0b05b 100644 --- a/css/admin.css +++ b/css/admin.css @@ -71,14 +71,21 @@ .side-menu-setting-list { margin: 10px 4px 4px 0px; + border: 1px solid var(--color-border-dark); + border-radius: 15px; } .side-menu-setting-list-item { padding: 5px 10px; - border: 1px solid var(--color-border-dark); + border-bottom: 1px solid var(--color-border-dark); max-width: 300px; margin: -1px 0 0 0; cursor: pointer; + line-height: 32px; +} + +.side-menu-setting-list-item:last-child { + border-bottom: 0; } .side-menu-setting-list-drop { @@ -93,8 +100,9 @@ } .side-menu-setting-list-item input { - min-height: auto; - margin-top: -1px; + margin-top: 0; + height: 21px !important; + min-height: auto !important; } #apps-categories-custom-list select { diff --git a/templates/settings/admin-form.php b/templates/settings/admin-form.php index d2ffa93..fd71582 100644 --- a/templates/settings/admin-form.php +++ b/templates/settings/admin-form.php @@ -509,7 +509,6 @@ $labelReset = 'Reset to default'; t('With categories')); ?> -

t('This menu is not compatible with AppOrder.'); ?>

t('Big menu')); ?> -

t('This menu is not compatible with AppOrder.'); ?>

Date: Fri, 21 Oct 2022 16:48:59 +0200 Subject: [PATCH 2/2] remove unused translation keys --- src/l10n/fixtures/cs.yaml | 1 - src/l10n/fixtures/de.yaml | 1 - src/l10n/fixtures/fr.yaml | 1 - src/l10n/fixtures/zh_CN.yaml | 1 - 4 files changed, 4 deletions(-) diff --git a/src/l10n/fixtures/cs.yaml b/src/l10n/fixtures/cs.yaml index 01e862f..f728a30 100644 --- a/src/l10n/fixtures/cs.yaml +++ b/src/l10n/fixtures/cs.yaml @@ -40,7 +40,6 @@ "Panel": "Panel" "Open the menu when the mouse is hover the opener (automatically disabled on touch screens)": "Otevřít nabídku při najetím ukazatelem na tlačítko nabídky (automaticky vypnuto pro dotykové obrazovky)." "Display the big menu": "Zobrazit velkou nabídku" -"This menu is not compatible with AppOrder.": "Nabídka není kompatibilní s jinou aplikací (doplňkem) „Pořadí aplikací“." "Display the logo": "Zobrazit logo" "This feature is not compatible with the big menu display.": "Tato funkce není kompatibilní se zobrazením velké nabídky." "Icons and texts": "Ikony a texty" diff --git a/src/l10n/fixtures/de.yaml b/src/l10n/fixtures/de.yaml index afffdbb..0688ea8 100644 --- a/src/l10n/fixtures/de.yaml +++ b/src/l10n/fixtures/de.yaml @@ -40,7 +40,6 @@ "Panel": "Panel" "Open the menu when the mouse is hover the opener (automatically disabled on touch screens)": "Öffne das Menü, wenn die Maus über das Menü-Symbol bewegt wird (auf Touchscreens automatisch deaktiviert)." "Display the big menu": "Großes Menü anzeigen" -"This menu is not compatible with AppOrder.": "Dieses Menü ist nicht mit AppOrder kompatibel." "Display the logo": "Logo anzeigen" "This feature is not compatible with the big menu display.": "Diese Funktion ist nicht mit dem großen Menü kompatibel." "Icons and texts": "Symbole und Texte" diff --git a/src/l10n/fixtures/fr.yaml b/src/l10n/fixtures/fr.yaml index 3d8fece..b26eb5f 100644 --- a/src/l10n/fixtures/fr.yaml +++ b/src/l10n/fixtures/fr.yaml @@ -48,7 +48,6 @@ "Panel": "Panneau" "Open the menu when the mouse is hover the opener (automatically disabled on touch screens)": "Ouvrir le menu au passage de la souris (automatiquement désactivé sur les écrans tactiles)" "Display the big menu": "Afficher le menu large" -"This menu is not compatible with AppOrder.": "Ce menu n'est pas compatible avec l'application AppOrder" "Display the logo": "Afficher le logo" "This feature is not compatible with the big menu display.": "Cette fonctionnalité n'est pas compatible avec l'affichage du menu large." "Icons and texts": "Icônes et textes" diff --git a/src/l10n/fixtures/zh_CN.yaml b/src/l10n/fixtures/zh_CN.yaml index 4e8cb36..fe3fdd2 100644 --- a/src/l10n/fixtures/zh_CN.yaml +++ b/src/l10n/fixtures/zh_CN.yaml @@ -40,7 +40,6 @@ "Panel": "面板" "Open the menu when the mouse is hover the opener (automatically disabled on touch screens)": "鼠标悬停时打开菜单 (触摸屏时将自动禁用)" "Display the big menu": "显示大型菜单" -"This menu is not compatible with AppOrder.": "型菜单与应用顺序不兼容" "Display the logo": "显示logo" "This feature is not compatible with the big menu<\/code> display.": "此功能与显示大型菜单<\/code>不兼容。" "Icons and texts": "图标与文字"