display leaf icon for menu items and projects when DTL is enable

close #103
This commit is contained in:
Timothée Goguely 2025-01-23 19:30:00 +01:00
parent 6db29dddf2
commit de3072794f
4 changed files with 31 additions and 0 deletions

View file

@ -71,6 +71,7 @@
: project.uri
"
:class="hasUnreadNotification(project) ? 'new' : undefined"
:data-dtl="project.isDTLEnabled ? 'true' : undefined"
@click="collapse()"
>{{ project.title }}</router-link
>
@ -344,6 +345,10 @@ button[aria-controls="menu"][aria-expanded="false"]
margin-left: auto;
}
#menu a {
display: flex;
align-items: center;
}
#menu li a::before {
content: "";
position: absolute;