From 30465f17e0e4aaa87fe624e238afcb6ae63d160b Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Wed, 4 Dec 2024 13:37:38 -0800 Subject: [PATCH] Fix setting list nav separator (#1799) --- src/components/dialog/content/SettingDialogContent.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/dialog/content/SettingDialogContent.vue b/src/components/dialog/content/SettingDialogContent.vue index 44243eab8..1d2fe23c5 100644 --- a/src/components/dialog/content/SettingDialogContent.vue +++ b/src/components/dialog/content/SettingDialogContent.vue @@ -241,11 +241,11 @@ const tabValue = computed(() => /* Show a separator line above the Keybinding tab */ /* This indicates the start of custom setting panels */ -.settings-sidebar :deep(.p-listbox-option[aria-label='Keybinding']) { +.settings-sidebar :deep(.p-listbox-option:nth-last-child(4)) { position: relative; } -.settings-sidebar :deep(.p-listbox-option[aria-label='Keybinding'])::before { +.settings-sidebar :deep(.p-listbox-option:nth-last-child(4))::before { @apply content-[''] top-0 left-0 absolute w-full; border-top: 1px solid var(--p-divider-border-color); }