mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +02:00
fix: images in /today expanding parent
This commit is contained in:
1 parent
632881c6b0
commit
26e78c72b9
7 files changed
+13
-30
No files matched your search
@@ -34,6 +34,7 @@ export function Row({
|
||||
return (
|
||||
<div style={{ display: 'flex', gap: 16 }}>
|
||||
<RowDiscriminator name={name} icon={icon} />
|
||||
|
||||
<RowStat
|
||||
name="Winrate"
|
||||
value={`${(winrate * 100).toFixed(2)}%`}
|
||||
|
||||
@@ -22,9 +22,11 @@ export function RowDiscriminator({ name, icon }: RowDiscriminatorProps) {
|
||||
{icon && (
|
||||
<img
|
||||
src={icon}
|
||||
style={{ width: '100%', flex: 1, objectFit: 'cover' }}
|
||||
height={0}
|
||||
style={{ flex: 1, width: '100%', objectFit: 'contain' }}
|
||||
/>
|
||||
)}
|
||||
|
||||
<span
|
||||
style={{
|
||||
color: theme.colors.textLowContrast,
|
||||
|
||||
Reference in new issue
Block a user