fix: reduce the table size (close #174)

This commit is contained in:
JustSong 2023-06-17 19:23:25 +08:00
parent 5531e21526
commit bcbfacc04a
4 changed files with 7 additions and 5 deletions

View File

@ -262,7 +262,7 @@ const ChannelsTable = () => {
/>
</Form>
<Table basic>
<Table basic compact size='small'>
<Table.Header>
<Table.Row>
<Table.HeaderCell

View File

@ -152,7 +152,7 @@ const RedemptionsTable = () => {
/>
</Form>
<Table basic>
<Table basic compact size='small'>
<Table.Header>
<Table.Row>
<Table.HeaderCell

View File

@ -161,7 +161,7 @@ const TokensTable = () => {
/>
</Form>
<Table basic>
<Table basic compact size='small'>
<Table.Header>
<Table.Row>
<Table.HeaderCell

View File

@ -156,7 +156,7 @@ const UsersTable = () => {
/>
</Form>
<Table basic>
<Table basic compact size='small'>
<Table.Header>
<Table.Row>
<Table.HeaderCell
@ -240,7 +240,9 @@ const UsersTable = () => {
/>
</Table.Cell>
<Table.Cell>{renderGroup(user.group)}</Table.Cell>
<Table.Cell>{user.email ? renderText(user.email, 20) : '无'}</Table.Cell>
<Table.Cell>
{user.email ? <Popup hoverable content={user.email} trigger={<span>{renderText(user.email, 24)}</span>} /> : '无'}
</Table.Cell>
<Table.Cell>
<Popup content='剩余额度' trigger={<Label>{renderNumber(user.quota)}</Label>} />
<Popup content='已用额度' trigger={<Label>{renderNumber(user.used_quota)}</Label>} />