mirror of https://github.com/astral-sh/ruff
Increase icon opacity on-hover (#6291)
## Summary Makes it clearer that these are clickable.
This commit is contained in:
parent
a15b0a9102
commit
23e527e386
|
|
@ -37,8 +37,8 @@ export function SideBarEntry({
|
||||||
title={title}
|
title={title}
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
role="button"
|
role="button"
|
||||||
className={`py-4 px-2 relative flex items-center flex-col ${
|
className={`py-4 px-2 relative flex items-center flex-col fill-white text-white ${
|
||||||
selected ? "fill-white text-white" : "fill-slate-500 text-slate-500"
|
selected ? "opacity-100" : "opacity-50 hover:opacity-100"
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue