добавили функцию обработки нажатия на кнопку Отменить,

This commit is contained in:
alisagerasimova
2026-02-28 21:54:46 +03:00
parent 8fa0e9042a
commit b3f68e7c98
3 changed files with 23 additions and 25 deletions
+3 -2
View File
@@ -6,7 +6,7 @@
<slot name="header">
<strong>Заголовок по умолчанию</strong>
</slot>
<button class="btn-close" @click="closeModal" aria-label="Закрыть модальное окно">
<button class="modal-btn-close" @click="closeModal" aria-label="Закрыть модальное окно">
×
</button>
</header>
@@ -104,9 +104,10 @@ function closeModal() {
.modal-body {
position: relative;
padding: 20px 10px;
color: white
}
.btn-close {
.modal-btn-close {
border: none;
font-size: 20px;
padding: 0;