0
0
Fork 0

Aplicar clases a close-icon en el css

This commit is contained in:
William Buezas 2024-01-03 16:55:48 -03:00
parent a66b88ba8e
commit 8fc7a5ea12
1 changed files with 8 additions and 6 deletions

View File

@ -62,12 +62,7 @@ const closeForm = () => {
@on-data-saved="onDataSaved()"
>
<template #form="{ data, validate }">
<span
ref="closeButton"
class="absolute cursor-pointer"
style="top: 20px; right: 20px"
v-close-popup
>
<span ref="closeButton" class="close-icon" v-close-popup>
<QIcon name="close" size="sm" />
</span>
<h1 class="title">{{ title }}</h1>
@ -102,4 +97,11 @@ const closeForm = () => {
font-weight: bold;
line-height: 20px;
}
.close-icon {
position: absolute;
top: 20px;
right: 20px;
cursor: pointer;
}
</style>