feat(quota): improve refresh button functionality and update translations

- Added a new `isRefreshing` state to streamline loading logic for the refresh button.
- Updated the refresh button's disabled and loading states for better user experience.
- Simplified the refresh button content display.
- Revised translations for the refresh action in both English and Chinese locales.
- Enhanced styles for button alignment and SVG display.
This commit is contained in:
moxi
2026-01-04 01:05:58 +08:00
parent 38a3e20427
commit 6364bac1f2
4 changed files with 16 additions and 15 deletions

View File

@@ -31,6 +31,14 @@
gap: $spacing-sm;
flex-wrap: wrap;
align-items: center;
:global(.btn-sm) {
line-height: 16px;
}
:global(svg) {
display: block;
}
}
.titleWrapper {
@@ -136,13 +144,6 @@
align-items: center;
}
.refreshButtonContent {
display: inline-flex;
align-items: center;
gap: $spacing-xs;
white-space: nowrap;
}
.antigravityCard {
background-image: linear-gradient(180deg,
rgba(224, 247, 250, 0.12),