fix: center zoomed in image in modal (#109)

pull/116/head
Vjacheslav Trushkin 2022-11-25 22:04:10 +02:00 zatwierdzone przez GitHub
rodzic e26eccd7fe
commit adf8c5cc1e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -23,7 +23,7 @@ watchOnce(modelValue, () => {
/>
<div
class="
bg-base absolute transition-all duration-200 ease-out shadow rounded-md transform
bg-base absolute transition-all duration-200 ease-out shadow rounded-md transform ml-0
border border-base top-1/2 -translate-y-1/2 mx-8 md:(left-1/2 -translate-x-1/2)
"
:class="modelValue ? 'opacity-100' : 'opacity-0'"