💄(spinner) enforce spinner height

For some reason the ProgressBar adds a bit of height to the spinner
which makes it hard to center.
This commit is contained in:
Florent Chehab
2026-03-19 11:23:17 +01:00
parent cf3fb208e2
commit 43185605eb
2 changed files with 9 additions and 1 deletions
+4
View File
@@ -14,6 +14,10 @@ and this project adheres to
- ♿️(frontend) fix more tools heading hierarchy #1181 - ♿️(frontend) fix more tools heading hierarchy #1181
- ♿️(fronted) improve button descriptions for More tools actions #1184 - ♿️(fronted) improve button descriptions for More tools actions #1184
### Changed
- 💄(spinner) enforce spinner height
### Fixed ### Fixed
- 🐛(frontend) disable personal custom background while deleting - 🐛(frontend) disable personal custom background while deleting
+5 -1
View File
@@ -20,7 +20,11 @@ export const Spinner = ({
const r = 14 - strokeWidth const r = 14 - strokeWidth
const c = 2 * r * Math.PI const c = 2 * r * Math.PI
return ( return (
<ProgressBar aria-label="Loading..." value={30}> <ProgressBar
aria-label="Loading..."
value={30}
style={{ height: size, width: size }}
>
{({ percentage }) => ( {({ percentage }) => (
<div <div
className={css({ className={css({