From b1086eca541528e50312bc9c91ae3039226c69c1 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 3 Sep 2024 14:48:00 -0600 Subject: [PATCH] components: SettingsComponent - Semantically improve document structure Additionally, abstract right alignment to CSS class --- components/SettingsComponent.vue | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/components/SettingsComponent.vue b/components/SettingsComponent.vue index 12049b7e4..b3879dc3d 100644 --- a/components/SettingsComponent.vue +++ b/components/SettingsComponent.vue @@ -44,16 +44,16 @@ const d = Object.fromEntries(Object.entries(data).filter(([k, v]) => .badgePadding :deep(p) { margin: 4px; } -.settingsList h3:first-of-type { +.settingsList article:first-of-type { border-top-width: 0; - padding-top: 0; } -.settingsList h3 { +.settingsList article { border-top: 1px solid var(--vp-c-divider); +} +.settingsList h3 { margin-top: 18px; - padding-top: 18px; } -.settingsList .rightAlign { +.settingsListTable th { text-align: right; } .settingsListTable :deep(ul) { @@ -67,7 +67,7 @@ const d = Object.fromEntries(Object.entries(data).filter(([k, v]) =>