From c2f8baa56940db9f6410f84f4f3cb871a77ed593 Mon Sep 17 00:00:00 2001 From: stevekaplan123 Date: Tue, 14 Jan 2025 10:46:37 +0200 Subject: [PATCH] chore: change a tag to button --- static/css/s2.css | 2 ++ static/js/TextColumnBanner.jsx | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/static/css/s2.css b/static/css/s2.css index f8b7d3f9b2..da3c7da6bb 100644 --- a/static/css/s2.css +++ b/static/css/s2.css @@ -4987,6 +4987,8 @@ body .ui-autocomplete.dictionary-toc-autocomplete .ui-menu-item a.ui-state-focus display: flex; } .readerControls .readerControlsInner.transLangPrefSuggBannInner .yesNoButton { + border: none; + font-size: 16px; border-radius: 6px; background-color: white; padding: 5px 11px; diff --git a/static/js/TextColumnBanner.jsx b/static/js/TextColumnBanner.jsx index 3dc40ac008..0f64cdcc45 100644 --- a/static/js/TextColumnBanner.jsx +++ b/static/js/TextColumnBanner.jsx @@ -145,8 +145,8 @@ const TextColumnBannerButton = ({ button, closeBanner }) => { if (button.sideEffect === "close") { closeBanner(true); } } return ( - + ); }