From 83e360ea1b4fb4ee7bd1d2f2f5b554e98c78b8c9 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Wed, 21 Feb 2024 00:36:55 +0100 Subject: [PATCH] simplify log and text modals --- web/html/common/text_modal.html | 20 +++++----- web/html/xui/index.html | 69 +++++++++++++++++---------------- 2 files changed, 46 insertions(+), 43 deletions(-) diff --git a/web/html/common/text_modal.html b/web/html/common/text_modal.html index 26ac5ade..68387be2 100644 --- a/web/html/common/text_modal.html +++ b/web/html/common/text_modal.html @@ -1,14 +1,16 @@ {{define "textModal"}} - - {{ i18n "download" }} [[ txtModal.fileName ]] - + :closable="true" + :class="themeSwitcher.currentTheme"> + + :autosize="{ minRows: 10, maxRows: 20}">