Commit fabc333
authored
fix(website): center svg icon on review card (#6611)
Resolves #6612 svg icon not centered.
Before:
<img width="350" height="132" alt="iTerm2 2026-06-03 11 30 54"
src="https://github.com/user-attachments/assets/4054f96b-68a7-4aa7-b6fc-06af33e825c8"
/>
After:
<img width="182" height="62" alt="Google Chrome 2026-06-03 11 36 06"
src="https://github.com/user-attachments/assets/244a0841-c557-4a13-942f-009f76d5a152"
/>
Also fixes that we add the literal css class `undefined` when
`extraStyle` is not passed to `KeyValueComponent` (and hence
`undefined`) on the review page.
🚀 Preview: https://fix-undefined-style.loculus.org1 parent 1129540 commit fabc333
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
464 | | - | |
| 464 | + | |
465 | 465 | | |
466 | 466 | | |
467 | | - | |
| 467 | + | |
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
475 | | - | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
476 | 479 | | |
477 | 480 | | |
478 | 481 | | |
| |||
0 commit comments