diff --git a/ai_answers.py b/ai_answers.py index 98adf58..02e61d1 100644 --- a/ai_answers.py +++ b/ai_answers.py @@ -131,34 +131,11 @@ INTERACTIVE_CSS = ''' opacity: 0.55; animation: sxng-fade-in-up 0.3s ease-out forwards; } - .sxng-input-submit { - all: unset; - position: absolute; - right: 0; - top: 50%; - transform: translateY(-50%); - display: inline-flex; - align-items: center; - justify-content: center; - width: 32px; - height: 32px; - padding: 0; - background: transparent !important; - border: none !important; - border-radius: 6px; - color: var(--color-base-font, #333); - cursor: pointer; - opacity: 0.3; - transition: all 0.2s ease; - } - .sxng-input-wrapper:focus-within .sxng-input-submit, - .sxng-input-submit:hover { + .sxng-input-wrapper:focus-within { opacity: 1; color: var(--color-result-link, #5e81ac); background: var(--color-base-background-hover, rgba(0,0,0,0.05)) !important; } - .sxng-input-submit svg { width: 18px; height: 18px; fill: currentColor; } - .sxng-input-submit svg { width: 18px; height: 18px; fill: currentColor; } .sxng-model-select { appearance: none; -webkit-appearance: none; @@ -204,7 +181,6 @@ INTERACTIVE_HTML = '''
-