From 4416495b7946a89a051c9674584283b2616dfd8f Mon Sep 17 00:00:00 2001 From: Kacper Kula Date: Thu, 14 Aug 2025 16:03:05 +0100 Subject: [PATCH] chore: small ui fixes --- src/settingsTab.ts | 2 +- styles.css | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/settingsTab.ts b/src/settingsTab.ts index 9e893b6..3d104f8 100644 --- a/src/settingsTab.ts +++ b/src/settingsTab.ts @@ -82,7 +82,7 @@ export class SQLSealChartsSettingTab extends PluginSettingTab { const headerRow = thead.createEl('tr'); headerRow.createEl('th', { text: 'Name' }); headerRow.createEl('th', { text: 'Preview' }); - headerRow.createEl('th', { text: 'Actions' }); + headerRow.createEl('th', { text: '' }); // Table body const tbody = table.createEl('tbody'); diff --git a/styles.css b/styles.css index 89714d4..98991d9 100644 --- a/styles.css +++ b/styles.css @@ -134,11 +134,13 @@ .sqlseal-config-actions { white-space: nowrap; + display: flex; + justify-content: flex-end; + gap: 8px; } .sqlseal-action-button { padding: 4px 12px; - margin-right: 8px; border: none; border-radius: var(--radius-s); cursor: pointer; @@ -146,10 +148,6 @@ transition: background-color 0.2s ease; } -.sqlseal-action-button:last-child { - margin-right: 0; -} - .sqlseal-empty-state { text-align: center; color: var(--text-muted);