Fix setting list nav separator (#1799)

This commit is contained in:
Chenlei Hu
2024-12-04 13:37:38 -08:00
committed by GitHub
parent 5206939c78
commit 30465f17e0

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