From ee64fe003eda337ed2790d3d1a7dbc23353d7ae8 Mon Sep 17 00:00:00 2001 From: Zhora Shalyapin Date: Tue, 11 Mar 2025 07:49:00 +0000 Subject: [PATCH] fix selectors --- main.js | 172 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 86 insertions(+), 86 deletions(-) diff --git a/main.js b/main.js index c6879a7..7d73483 100644 --- a/main.js +++ b/main.js @@ -993,110 +993,110 @@ textarea { width: 100%; } + } - .files-container input[type=radio] { - display: none; - } + .files-container input[type=radio] { + display: none; + } - .file-list-container { - display: flex; - flex-wrap: wrap; - gap: 10px; - margin-top: 5px; - } + .file-list-container { + display: flex; + flex-wrap: wrap; + gap: 10px; + margin-top: 5px; + } - .file-container { - display: flex; - flex-direction: column; - gap: 5px; - } + .file-container { + display: flex; + flex-direction: column; + gap: 5px; + } - .file-container img.preview { - width: 120px; - } + .file-container img.preview { + width: 120px; + } - .file-container img.preview-small { - width: 60px; - } + .file-container img.preview-small { + width: 60px; + } - .file-container img:is(.preview, .preview-small) { - cursor: zoom-in; - } + .file-container img:is(.preview, .preview-small) { + cursor: zoom-in; + } - dialog .preview, - .swiper { - max-width: 1000px; - width: 100%; - max-height: 500px; - height: 100%; - } + dialog .preview, + .swiper { + max-width: 1000px; + width: 100%; + max-height: 500px; + height: 100%; + } - .swiper-button-next, - .swiper-button-prev { - user-select: none; - -webkit-user-select: none; - } + .swiper-button-next, + .swiper-button-prev { + user-select: none; + -webkit-user-select: none; + } - .swiper-wrapper { - align-items: center; - } + .swiper-wrapper { + align-items: center; + } - .swiper-wrapper > .swiper-slide { - width: 100%; - max-height: 500px; - height: 100%; - } + .swiper-wrapper > .swiper-slide { + width: 100%; + max-height: 500px; + height: 100%; + } - .swiper-slide img { - width: 100%; - max-height: 500px; - height: 100%; - object-fit: contain; - object-position: center; - } + .swiper-slide img { + width: 100%; + max-height: 500px; + height: 100%; + object-fit: contain; + object-position: center; + } - .swiper-download-link { - display: block; - position: absolute; - top: 0; - right: 0; - background: white; - padding: 5px 10px; - margin: 5px; - border: 1px solid #ccc; - border-radius: 7.5px; - } + .swiper-download-link { + display: block; + position: absolute; + top: 0; + right: 0; + background: white; + padding: 5px 10px; + margin: 5px; + border: 1px solid #ccc; + border-radius: 7.5px; + } - button.button-delete { - padding: 0; - border: 0; - margin: 0; - background: none; - font-size: 18px; - } + button.button-delete { + padding: 0; + border: 0; + margin: 0; + background: none; + font-size: 18px; + } - .admin-files-container { - display: flex; - } + .admin-files-container { + display: flex; + } - .admin-files-container > :not(:last-child) { - padding-right: 10px; - border-right: 1px solid #ddd; - } + .admin-files-container > :not(:last-child) { + padding-right: 10px; + border-right: 1px solid #ddd; + } - .admin-files-container > :not(:first-child) { - padding-left: 10px; - } + .admin-files-container > :not(:first-child) { + padding-left: 10px; + } - dialog img.preview { - width: auto; - } + dialog img.preview { + width: auto; + } - .file-buttons-container { - display: flex; - align-items: center; - gap: 5px; - } + .file-buttons-container { + display: flex; + align-items: center; + gap: 5px; } `