From 418fddd669490245d66f24e6c91956078f18904d Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Wed, 4 Dec 2024 17:26:44 -0800 Subject: [PATCH] Revert "Fix setting list nav separator (#1799)" (#1803) This reverts commit 30465f17e0e4aaa87fe624e238afcb6ae63d160b. --- 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 1d2fe23c53..44243eab8b 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:nth-last-child(4)) { +.settings-sidebar :deep(.p-listbox-option[aria-label='Keybinding']) { position: relative; } -.settings-sidebar :deep(.p-listbox-option:nth-last-child(4))::before { +.settings-sidebar :deep(.p-listbox-option[aria-label='Keybinding'])::before { @apply content-[''] top-0 left-0 absolute w-full; border-top: 1px solid var(--p-divider-border-color); }