diff options
Diffstat (limited to 'web/html/common')
| -rw-r--r-- | web/html/common/qrcode_modal.html | 8 | ||||
| -rw-r--r-- | web/html/common/text_modal.html | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/web/html/common/qrcode_modal.html b/web/html/common/qrcode_modal.html index 7cc317ef..3fcfdfc1 100644 --- a/web/html/common/qrcode_modal.html +++ b/web/html/common/qrcode_modal.html @@ -11,7 +11,7 @@ <a-divider>{{ i18n "pages.settings.subSettings"}}</a-divider> <canvas @click="copyToClipboard('qrCode-sub',genSubLink(qrModal.client.subId))" id="qrCode-sub" - style="width: 100%; height: 100%; display: flex; border-radius: 1rem;"> + class="qr-bg"> </canvas> <a-divider>{{ i18n "pages.settings.subSettings"}} Json</a-divider> <canvas @click="copyToClipboard('qrCode-subJson',genSubJsonLink(qrModal.client.subId))" @@ -21,10 +21,10 @@ </template> <a-divider>{{ i18n "pages.inbounds.client" }}</a-divider> <template v-for="(row, index) in qrModal.qrcodes"> - <a-tag color="blue" style="margin: 10px 0; display: block; text-align: center;">[[ row.remark ]]</a-tag> + <a-tag color="green" style="margin: 10px 0; display: block; text-align: center;">[[ row.remark ]]</a-tag> <canvas @click="copyToClipboard('qrCode-'+index, row.link)" :id="'qrCode-'+index" - style="width: 100%; height: 100%; display: flex; border-radius: 1rem;"></canvas> + class="qr-bg"></canvas> </template> </a-modal> @@ -110,4 +110,4 @@ }); </script> -{{end}}
\ No newline at end of file +{{end}} diff --git a/web/html/common/text_modal.html b/web/html/common/text_modal.html index 68387be2..d668c792 100644 --- a/web/html/common/text_modal.html +++ b/web/html/common/text_modal.html @@ -9,7 +9,7 @@ </a-button> <a-button type="primary" id="copy-btn">{{ i18n "copy" }}</a-button> </template> - <a-input type="textarea" v-model="txtModal.content" + <a-input style="overflow-y: auto;" type="textarea" v-model="txtModal.content" :autosize="{ minRows: 10, maxRows: 20}"></a-input> </a-modal> @@ -53,4 +53,4 @@ }); </script> -{{end}}
\ No newline at end of file +{{end}} |
