feat: highlight hold on hover
This commit is contained in:
parent
1d7374d387
commit
f1d0fc68c5
@ -169,7 +169,7 @@ fn Hold(hold: models::Hold, role: Signal<Option<HoldRole>>) -> impl IntoView {
|
||||
None => Some("brightness-50"),
|
||||
// None => None,
|
||||
};
|
||||
let mut s = "bg-sky-100 aspect-square rounded".to_string();
|
||||
let mut s = "bg-sky-100 aspect-square rounded hover:brightness-125".to_string();
|
||||
if let Some(c) = role_classes {
|
||||
s.push(' ');
|
||||
s.push_str(c);
|
||||
|
Loading…
x
Reference in New Issue
Block a user