From 9507d94372a30577e9f004c5ba717b5cd82d78e5 Mon Sep 17 00:00:00 2001 From: Jubal Mabaquiao Date: Wed, 13 Nov 2024 00:33:12 +0800 Subject: [PATCH] fixed paddings and button visibility --- app/css/interceptor.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/css/interceptor.css b/app/css/interceptor.css index 6d5af223..59536b78 100644 --- a/app/css/interceptor.css +++ b/app/css/interceptor.css @@ -1814,8 +1814,8 @@ header:has(form[role='search']) h1 { > data { grid-area: top / left / bottom / right; - .multiline-card:hover &:not(:has(+:disabled)), .multiline-card:focus-within &:not(:has(+:disabled)) { - opacity: 0; + &:not(:has(+:disabled)) { + .multiline-card:hover &, .multiline-card:focus-within & { visibility: hidden } } } @@ -1825,12 +1825,12 @@ header:has(form[role='search']) h1 { align-items: baseline; grid-template-columns: minmax(0, 1fr) min-content; background-color: var(--bg-color); - opacity: 0; outline: none; position: relative; + visibility: hidden; - .multiline-card:hover &, .multiline-card:focus-within & { - &:not(:disabled) { opacity: 1 } + &:not(:disabled) { + .multiline-card:hover &, .multiline-card:focus-within & { visibility: visible } } &:hover, &:focus {