replace the navigation badge with a fontawesome square
This commit is contained in:
parent
19d26e6bd0
commit
d637c44e5c
|
@ -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) {
|
||||
|
|
|
@ -25,7 +25,7 @@ class NavigationExtension extends AbstractExtension
|
|||
}
|
||||
|
||||
return sprintf(
|
||||
'<span class="badge badge-square" style="background: %s"> </span>',
|
||||
'<span class="fa fa-square" style="color: %s"></span>',
|
||||
$entity->getColor()
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue