Fix dropdown style issue

This commit is contained in:
Yana De Pauw
2025-03-12 16:27:04 +01:00
parent fca8c6f418
commit b009e0b640

View File

@@ -5,9 +5,9 @@
<button [attr.aria-label]="itemModel.text | translate" [title]="itemModel.text | translate" class="btn btn-dark btn-sm" ngbDropdownToggle [dsBtnDisabled]="section.model?.disabled"> <button [attr.aria-label]="itemModel.text | translate" [title]="itemModel.text | translate" class="btn btn-dark btn-sm" ngbDropdownToggle [dsBtnDisabled]="section.model?.disabled">
<i class="fas fa-{{section.icon}} fa-fw"></i> <i class="fas fa-{{section.icon}} fa-fw"></i>
</button> </button>
<ul ngbDropdownMenu class="dso-edit-menu-dropdown"> <ul ngbDropdownMenu class="dso-edit-menu-dropdown p-1">
@for (subSection of (subSections$ | async); track subSection) { @for (subSection of (subSections$ | async); track subSection) {
<li class="nav-item nav-link d-flex flex-row"> <li class="nav-item nav-link d-flex flex-row p-2">
@if (renderIcons$ | async) { @if (renderIcons$ | async) {
<div class="me-2"> <div class="me-2">
@if (subSection.icon) { @if (subSection.icon) {