From 378353af5b1fca58ea42a6f80f8b37d7c78064ca Mon Sep 17 00:00:00 2001 From: tsukumi Date: Mon, 13 Jan 2025 02:35:26 +0900 Subject: [PATCH] =?UTF-8?q?Update:=20=E5=8D=98=E8=AA=9E=E4=B8=80=E8=A6=A7?= =?UTF-8?q?=E3=81=AB=E5=84=AA=E5=85=88=E5=BA=A6=E3=82=92=E8=A1=A8=E7=A4=BA?= =?UTF-8?q?=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Dialog/DictionaryManageDialog.vue | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/components/Dialog/DictionaryManageDialog.vue b/src/components/Dialog/DictionaryManageDialog.vue index f8bfb269..a4b4851c 100644 --- a/src/components/Dialog/DictionaryManageDialog.vue +++ b/src/components/Dialog/DictionaryManageDialog.vue @@ -60,6 +60,7 @@ tag="label" clickable :active="selectedId === key" + class="word-list-item" activeClass="active-word" @click="selectWord(key)" > @@ -67,7 +68,10 @@ {{ value.surface }} - {{ value.yomi }} [{{ wordTypeLabels[getWordTypeFromPartOfSpeech(value)] }}] + + {{ value.yomi }} [{{ wordTypeLabels[getWordTypeFromPartOfSpeech(value)] }}] + 優先度:{{ value.priority }} + @@ -543,11 +547,16 @@ provide(dictionaryManageDialogContextKey, { ); width: 100%; overflow-y: auto; -} -.active-word { - background: hsl(206 66% 32% / 1); - border-right: 4px solid colors.$primary; + .word-list-item { + padding-right: 16px; + + &.active-word { + background: hsl(206 66% 32% / 1); + padding-right: 12px; + border-right: 4px solid colors.$primary; + } + } } .loading-dict {