From aebf52efb22a64ac2b0ba203dd41b7523b7d998c Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Wed, 21 Feb 2024 15:16:27 +0330 Subject: [PATCH] simplify log and text modals Co-Authored-By: Alireza Ahmadi --- web/html/common/text_modal.html | 21 +++++----- web/html/xui/index.html | 70 ++++++++++++++++----------------- 2 files changed, 46 insertions(+), 45 deletions(-) diff --git a/web/html/common/text_modal.html b/web/html/common/text_modal.html index 4fe2f175..68387be2 100644 --- a/web/html/common/text_modal.html +++ b/web/html/common/text_modal.html @@ -1,15 +1,16 @@ {{define "textModal"}} - - {{ i18n "download" }} [[ txtModal.fileName ]] - + :closable="true" + :class="themeSwitcher.currentTheme"> + + :autosize="{ minRows: 10, maxRows: 20}">