From 30e8e9b3a4857be5713b38405abd9d80e3ed9df1 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Sat, 31 Jan 2026 01:38:08 +0100 Subject: [PATCH] Icons --- config/current.ver | 2 +- public/assets/js/bridge/rte-editor.js | 18 +++++++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/config/current.ver b/config/current.ver index b099e4c..2c1b922 100644 --- a/config/current.ver +++ b/config/current.ver @@ -1 +1 @@ -1.1.71 \ No newline at end of file +1.1.72 \ No newline at end of file diff --git a/public/assets/js/bridge/rte-editor.js b/public/assets/js/bridge/rte-editor.js index 8c2afc1..8c958de 100644 --- a/public/assets/js/bridge/rte-editor.js +++ b/public/assets/js/bridge/rte-editor.js @@ -697,7 +697,7 @@ btn.setAttribute('aria-label', title); btn.className = 'bridge-rte-btn'; btn.setAttribute('data-bridge-rte', 'button'); - btn.style.padding = '6px 10px'; + btn.style.padding = '8px 12px'; btn.style.border = '1px solid #cbd5f5'; btn.style.borderRadius = '4px'; btn.style.background = '#f8fafc'; @@ -705,7 +705,7 @@ btn.style.display = 'inline-flex'; btn.style.alignItems = 'center'; btn.style.justifyContent = 'center'; - btn.style.gap = '6px'; + btn.style.gap = '8px'; btn.addEventListener('mousedown', (evt) => { evt.preventDefault(); saveSelection(); @@ -730,7 +730,7 @@ select.setAttribute('aria-label', title); select.className = 'bridge-rte-select'; select.setAttribute('data-bridge-rte', 'select'); - select.style.padding = '6px 10px'; + select.style.padding = '8px 12px'; select.style.border = '1px solid #cbd5f5'; select.style.borderRadius = '4px'; select.style.background = '#ffffff'; @@ -1222,15 +1222,19 @@ border-top: 1px dashed #e2e8f0; } .bridge-rte-btn { - font-size: 14px; + font-size: 16px; line-height: 1; - min-height: 34px; - min-width: 34px; + min-height: 40px; + min-width: 40px; font-weight: 600; color: #0f172a; background: #f8fafc; } - .bridge-rte-btn svg { width: 16px; height: 16px; } + .bridge-rte-btn svg { width: 18px; height: 18px; } + .bridge-rte-select { + font-size: 15px; + min-height: 40px; + } .bridge-rte-btn:hover { background: #e2e8f0; } .bridge-rte-btn:active { transform: translateY(1px); } .bridge-rte-actions .bridge-rte-btn { min-width: 88px; }