bs5: fix badges

This commit is contained in:
Michael Shamoon 2022-02-19 22:04:52 -08:00
parent f08901c639
commit add09db40a
2 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,7 @@
</svg>
<div class="d-none d-sm-inline">&nbsp;{{title}}</div>
<ng-container *ngIf="!editing && selectionModel.selectionSize() > 0">
<div class="badge bg-secondary text-light rounded-pill badge-corner">
<div class="position-absolute top-0 start-100 translate-middle badge bg-secondary border border-light text-light rounded-pill">
{{selectionModel.selectionSize()}}
</div>
</ng-container>

View File

@ -143,6 +143,10 @@ $border-color-dark-mode: #47494f;
color: $text-color-dark-mode-accent;
}
.badge.border-light {
border-color: $bg-dark-mode !important;
}
.doc-img-container {
border: none !important;
border-top-left-radius: .25rem;