chore: make buttons tiny

This commit is contained in:
JustSong
2025-02-02 13:14:52 +08:00
parent d0965050a9
commit a01d769a83
4 changed files with 43 additions and 36 deletions

View File

@@ -292,7 +292,7 @@ const UsersTable = () => {
<Table.Cell>
<div>
<Button
size={'small'}
size={'tiny'}
positive
onClick={() => {
manageUser(user.username, 'promote', idx);
@@ -302,7 +302,7 @@ const UsersTable = () => {
{t('user.buttons.promote')}
</Button>
<Button
size={'small'}
size={'tiny'}
color={'yellow'}
onClick={() => {
manageUser(user.username, 'demote', idx);
@@ -314,7 +314,7 @@ const UsersTable = () => {
<Popup
trigger={
<Button
size='small'
size='tiny'
negative
disabled={user.role === 100}
>
@@ -327,6 +327,7 @@ const UsersTable = () => {
>
<Button
negative
size={'tiny'}
onClick={() => {
manageUser(user.username, 'delete', idx);
}}
@@ -335,7 +336,7 @@ const UsersTable = () => {
</Button>
</Popup>
<Button
size={'small'}
size={'tiny'}
onClick={() => {
manageUser(
user.username,
@@ -350,7 +351,7 @@ const UsersTable = () => {
: t('user.buttons.enable')}
</Button>
<Button
size={'small'}
size={'tiny'}
as={Link}
to={'/user/edit/' + user.id}
>