From a01d769a83f2974c86bedf96de70b296bb1725cc Mon Sep 17 00:00:00 2001 From: JustSong Date: Sun, 2 Feb 2025 13:14:52 +0800 Subject: [PATCH] chore: make buttons tiny --- web/default/src/components/ChannelsTable.js | 38 +++++++++---------- .../src/components/RedemptionsTable.js | 15 +++++--- web/default/src/components/TokensTable.js | 15 ++++---- web/default/src/components/UsersTable.js | 11 +++--- 4 files changed, 43 insertions(+), 36 deletions(-) diff --git a/web/default/src/components/ChannelsTable.js b/web/default/src/components/ChannelsTable.js index d19be5104d..e9ac31a021 100644 --- a/web/default/src/components/ChannelsTable.js +++ b/web/default/src/components/ChannelsTable.js @@ -325,7 +325,9 @@ const ChannelsTable = () => { newChannels[realIdx].response_time = time * 1000; newChannels[realIdx].test_time = Date.now() / 1000; setChannels(newChannels); - showSuccess(t('channel.messages.test_success', { name, model, time, message })); + showSuccess( + t('channel.messages.test_success', { name, model, time, message }) + ); } else { showError(message); } @@ -350,7 +352,9 @@ const ChannelsTable = () => { const res = await API.delete(`/api/channel/disabled`); const { success, message, data } = res.data; if (success) { - showSuccess(t('channel.messages.delete_disabled_success', { count: data })); + showSuccess( + t('channel.messages.delete_disabled_success', { count: data }) + ); await refresh(); } else { showError(message); @@ -591,7 +595,7 @@ const ChannelsTable = () => {
+ } @@ -615,6 +619,7 @@ const ChannelsTable = () => { hoverable > + } @@ -691,7 +691,7 @@ const ChannelsTable = () => { hoverable > - + } @@ -311,7 +311,7 @@ const RedemptionsTable = () => { } @@ -456,6 +456,7 @@ const TokensTable = () => { hoverable >