fix(task): task link focus style

This commit is contained in:
kolaente 2023-02-27 17:47:06 +01:00
parent 5e9ed290ac
commit 4924470f2b
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 10 additions and 1 deletions

View File

@ -299,6 +299,14 @@ function openTaskDetail() {
background-color: var(--grey-100); background-color: var(--grey-100);
} }
&:focus-within {
box-shadow: 0 0 0 2px hsla(var(--primary-hsl), 0.5);
a.tasktext {
box-shadow: none;
}
}
.tasktext, .tasktext,
&.tasktext { &.tasktext {
white-space: nowrap; white-space: nowrap;
@ -366,7 +374,8 @@ function openTaskDetail() {
} }
} }
&:hover .favorite { &:hover .favorite,
.favorite:focus {
opacity: 1; opacity: 1;
} }