From 096f612b3acc0fcf5e98794e3383588623b6cf6e Mon Sep 17 00:00:00 2001 From: Ezzudin Alkotob Date: Thu, 4 Sep 2025 17:15:24 -0700 Subject: [PATCH] refix images --- src/css/popup.css | 1 + src/css/violations.css | 5 ++-- src/html/popup.html | 50 ++++++++++++++++++++++++++-------- src/js/popup/popup.ts | 17 +++++++----- src/js/popup/violation-list.ts | 13 ++++++--- 5 files changed, 61 insertions(+), 25 deletions(-) diff --git a/src/css/popup.css b/src/css/popup.css index 8f3b1ef..e5aef71 100644 --- a/src/css/popup.css +++ b/src/css/popup.css @@ -82,6 +82,7 @@ header { .menu_button, #close_button { cursor: pointer; + display: flex; } .state_boundary { diff --git a/src/css/violations.css b/src/css/violations.css index 74935f4..87a24e2 100644 --- a/src/css/violations.css +++ b/src/css/violations.css @@ -142,11 +142,10 @@ violation-list code { box-sizing: border-box; } -.download_img { +.download_button { cursor: pointer; opacity: 0.8; - width: 16px; - height: 16px; + display: inline-flex; } violation-list .subtable_wrapper.expanded { diff --git a/src/html/popup.html b/src/html/popup.html index b190118..65bfcbd 100644 --- a/src/html/popup.html +++ b/src/html/popup.html @@ -48,37 +48,65 @@ status-message="i18ndownloadSourceDescription" primary-button-id="i18nDownloadSourceButton" primary-button-action="download"> -