Revert "Fix setting list nav separator (#1799)" (#1803)

This reverts commit 30465f17e0.
This commit is contained in:
Chenlei Hu
2024-12-04 17:26:44 -08:00
committed by GitHub
parent e3cda0e749
commit 418fddd669

View File

@@ -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);
}