From eb8514ebeae8bfbb73fa9435630346a503cefb43 Mon Sep 17 00:00:00 2001 From: cp3hnu Date: Sat, 28 Sep 2024 21:24:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9C=A8=E5=8F=B3=E4=BE=A7=E5=8C=BA?= =?UTF-8?q?=E5=9F=9F=E6=B7=BB=E5=8A=A0=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/HomeView.vue | 201 +++++++++++++++++++++++------------------ 1 file changed, 115 insertions(+), 86 deletions(-) diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 885529a..3e98df3 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -1,89 +1,96 @@ @@ -275,7 +282,42 @@ function onChange(value, row, col) { align-items: center; justify-content: center; flex-direction: column; - overflow-y: auto; + position: relative; +} +.center { + display: flex; + flex-direction: column; + max-height: 100%; +} +.setting { + position: absolute; + right: 20px; + text-align: left; + width: 200px; + + .title { + font-size: 18px; + font-weight: bold; + } + + > div { + margin-bottom: 10px; + } + + .input-checkbox { + display: flex; + align-items: center; + } + + #delay { + width: 50px; + height: 26px; + margin-left: 10px; + } + #last-input { + width: 20px; + height: 20px; + } } .content { @@ -297,18 +339,10 @@ function onChange(value, row, col) { .button-container { display: flex; align-items: center; + justify-content: center; gap: 20px; margin-bottom: 30px; - - #delay { - width: 60px; - height: 26px; - margin-left: 4px; - } - #last-input { - width: 20px; - height: 20px; - } + margin-top: 20px; } .compute-button { @@ -330,12 +364,7 @@ function onChange(value, row, col) { font-size: 20px; margin-top: 20px; height: 24px; -} - -.input-checkbox { - display: flex; - align-items: center; - margin-left: -10px; + flex: none; } .location {