From b602f819402e42b3756cee3defc933812e7dea8e Mon Sep 17 00:00:00 2001 From: "Mr. Stallion" Date: Sun, 19 Apr 2020 13:53:08 -0500 Subject: [PATCH] Cleanup --- chat/CharacterSearchHistory.vue | 39 ++++++++++++++++++++++++++++--- chat/PmPartnerAdder.vue | 12 ++++++++-- chat/StatusPicker.vue | 41 ++++++++++++++++++++++++++++++--- readme.md | 1 - 4 files changed, 84 insertions(+), 9 deletions(-) diff --git a/chat/CharacterSearchHistory.vue b/chat/CharacterSearchHistory.vue index c6c76eb..25b69f4 100644 --- a/chat/CharacterSearchHistory.vue +++ b/chat/CharacterSearchHistory.vue @@ -5,10 +5,12 @@
-
-
@@ -85,6 +87,18 @@ ', ' ); } + + + async removeSearchHistoryEntry(index: number): Promise { + this.history.splice(index, 1); + + await core.settingsStore.set('searchHistory', this.history); + } + + + select(index: number): void { + this.selectedSearch = index; + } } @@ -100,9 +114,28 @@ .content-col { min-width: 100%; + display: flex; label { - min-width: 100%; + flex: 1; + } + + .before-content { + width: 1.3rem; + margin-bottom: auto; + margin-top: auto; + } + + .content-action { + float: right; + opacity: 0.2; + margin-bottom: auto; + margin-top: auto; + margin-left: 1rem; + + &:hover { + opacity: 0.8; + } } } diff --git a/chat/PmPartnerAdder.vue b/chat/PmPartnerAdder.vue index c6aacc7..33d9dce 100644 --- a/chat/PmPartnerAdder.vue +++ b/chat/PmPartnerAdder.vue @@ -1,7 +1,7 @@