From 7f99b78c44b5401b6e61aeb04b13fe66ed1344ac Mon Sep 17 00:00:00 2001 From: Tadas Vilkeliskis Date: Thu, 22 Jan 2026 20:45:22 -0500 Subject: fix lock icon --- redact.html | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'redact.html') diff --git a/redact.html b/redact.html index aef0697..d38021a 100644 --- a/redact.html +++ b/redact.html @@ -66,6 +66,14 @@ border-radius: 4px; cursor: pointer; font-size: 14px; + display: flex; + align-items: center; + gap: 6px; + } + + button svg { + width: 18px; + height: 18px; } button:hover { @@ -243,7 +251,10 @@ - +
@@ -258,6 +269,7 @@ const fileInput = document.getElementById('file-input'); const container = document.getElementById('container'); const exportBtn = document.getElementById('export-btn'); + const exportBtnText = document.getElementById('export-btn-text'); const loader = document.getElementById('loader'); const pageCountSpan = document.getElementById('page-count'); const redactSelectionBtn = document.getElementById('redact-selection-btn'); @@ -644,7 +656,7 @@ if (!pdfDoc) return; exportBtn.disabled = true; - exportBtn.innerText = 'Processing...'; + exportBtnText.innerText = 'Processing...'; loader.style.display = 'block'; // Wait a moment for UI to update @@ -704,7 +716,7 @@ alert("Export failed. See console."); } finally { exportBtn.disabled = false; - exportBtn.innerText = '🔒 Export Redacted PDF'; + exportBtnText.innerText = 'Export Redacted PDF'; loader.style.display = 'none'; } }); -- cgit v1.2.3