From df5a5779190efb5634c161a5975ca9b150cc64aa Mon Sep 17 00:00:00 2001 From: Lykin <137850705+tiny-craft@users.noreply.github.com> Date: Tue, 2 Jan 2024 16:12:40 +0800 Subject: [PATCH] style: adjust button style --- README.md | 1 + README_zh.md | 1 + .../src/components/common/FileSaveInput.vue | 6 +- .../components/common/RedisTypeSelector.vue | 5 ++ .../content_value/ContentEntryEditor.vue | 2 +- .../content_value/ContentMonitor.vue | 26 ++++++-- .../content_value/ContentSearchInput.vue | 1 + .../content_value/ContentValueString.vue | 2 +- .../src/components/icons/ListCheckbox.vue | 63 ------------------- frontend/src/components/icons/Plus.vue | 4 +- frontend/src/langs/en-us.json | 2 +- frontend/src/langs/zh-cn.json | 2 +- frontend/src/utils/theme.js | 2 + 13 files changed, 41 insertions(+), 76 deletions(-) delete mode 100644 frontend/src/components/icons/ListCheckbox.vue diff --git a/README.md b/README.md index dc799da..c83b579 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ [![License](https://img.shields.io/github/license/tiny-craft/tiny-rdm)](https://github.com/tiny-craft/tiny-rdm/blob/main/LICENSE) [![GitHub release](https://img.shields.io/github/release/tiny-craft/tiny-rdm)](https://github.com/tiny-craft/tiny-rdm/releases) +![GitHub All Releases](https://img.shields.io/github/downloads/tiny-craft/tiny-rdm/total) [![GitHub stars](https://img.shields.io/github/stars/tiny-craft/tiny-rdm)](https://github.com/tiny-craft/tiny-rdm/stargazers) [![GitHub forks](https://img.shields.io/github/forks/tiny-craft/tiny-rdm)](https://github.com/tiny-craft/tiny-rdm/fork) [![Discord](https://img.shields.io/discord/1170373259133456434?label=Discord&color=5865F2)](https://discord.gg/VTFbBMGjWh) diff --git a/README_zh.md b/README_zh.md index d53890c..4f2d516 100644 --- a/README_zh.md +++ b/README_zh.md @@ -7,6 +7,7 @@ [![License](https://img.shields.io/github/license/tiny-craft/tiny-rdm)](https://github.com/tiny-craft/tiny-rdm/blob/main/LICENSE) [![GitHub release](https://img.shields.io/github/release/tiny-craft/tiny-rdm)](https://github.com/tiny-craft/tiny-rdm/releases) +![GitHub All Releases](https://img.shields.io/github/downloads/tiny-craft/tiny-rdm/total) [![GitHub stars](https://img.shields.io/github/stars/tiny-craft/tiny-rdm)](https://github.com/tiny-craft/tiny-rdm/stargazers) [![GitHub forks](https://img.shields.io/github/forks/tiny-craft/tiny-rdm)](https://github.com/tiny-craft/tiny-rdm/fork) [![Discord](https://img.shields.io/discord/1170373259133456434?label=Discord&color=5865F2)](https://discord.gg/VTFbBMGjWh) diff --git a/frontend/src/components/common/FileSaveInput.vue b/frontend/src/components/common/FileSaveInput.vue index 45427fd..3178dc4 100644 --- a/frontend/src/components/common/FileSaveInput.vue +++ b/frontend/src/components/common/FileSaveInput.vue @@ -33,12 +33,12 @@ const handleSaveFile = async () => { diff --git a/frontend/src/components/common/RedisTypeSelector.vue b/frontend/src/components/common/RedisTypeSelector.vue index 9cdddf2..a18ed85 100644 --- a/frontend/src/components/common/RedisTypeSelector.vue +++ b/frontend/src/components/common/RedisTypeSelector.vue @@ -10,6 +10,10 @@ const props = defineProps({ type: String, default: 'ALL', }, + placement: { + type: String, + default: 'bottom-start', + }, }) const emit = defineEmits(['update:value', 'select']) @@ -80,6 +84,7 @@ const handleSelect = (select) => {