replace the navigation badge with a fontawesome square

This commit is contained in:
Simon Vieille 2023-08-14 12:47:33 +02:00
parent 19d26e6bd0
commit d637c44e5c
Signed by: deblan
GPG key ID: 579388D585F70417
2 changed files with 1 additions and 11 deletions

View file

@ -417,16 +417,6 @@ th {
}
}
.badge-square {
aspect-ratio: 1/1;
min-width: 14px;
min-height: 14px;
vertical-align: middle;
padding: 0;
aspect-ratio: 1/1;
display: inline-block;
}
#form-main {
> .tab-content {
@media screen and (min-width: 500px) {

View file

@ -25,7 +25,7 @@ class NavigationExtension extends AbstractExtension
}
return sprintf(
'<span class="badge badge-square" style="background: %s">&nbsp;</span>',
'<span class="fa fa-square" style="color: %s"></span>',
$entity->getColor()
);
}