mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 07:37:11 +01:00
Add hover background to MetricsTable rows.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c6dd3fb6ff
commit
1b347531dc
1 changed files with 8 additions and 1 deletions
|
|
@ -111,7 +111,14 @@ const AnimatedRow = ({
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Grid columns="1fr 50px 50px" paddingLeft="2" alignItems="center" borderRadius gap>
|
<Grid
|
||||||
|
columns="1fr 50px 50px"
|
||||||
|
paddingLeft="2"
|
||||||
|
alignItems="center"
|
||||||
|
borderRadius
|
||||||
|
gap
|
||||||
|
hover={{ backgroundColor: 'surface-sunken' }}
|
||||||
|
>
|
||||||
<Row alignItems="center">
|
<Row alignItems="center">
|
||||||
<Text truncate={true} style={{ maxWidth: isPhone ? '200px' : '400px' }}>
|
<Text truncate={true} style={{ maxWidth: isPhone ? '200px' : '400px' }}>
|
||||||
{label}
|
{label}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue