bs5: fix small cards display

This commit is contained in:
Michael Shamoon
2022-02-19 21:38:29 -08:00
parent baad7131bc
commit 3a6ff637cb
3 changed files with 2 additions and 7 deletions

View File

@@ -3,7 +3,7 @@
<div class="border-bottom doc-img-container" [class.doc-img-background-selected]="selected" (click)="this.toggleSelected.emit($event)">
<img class="card-img doc-img rounded-top" [class.inverted]="getIsThumbInverted()" [src]="getThumbUrl()">
<div class="border-end border-bottom bg-light p-1 rounded document-card-check">
<div class="border-end border-bottom bg-light py-1 px-2 document-card-check">
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="smallCardCheck{{document.id}}" [checked]="selected" (click)="this.toggleSelected.emit($event)">
<label class="custom-control-label" for="smallCardCheck{{document.id}}"></label>

View File

@@ -16,11 +16,6 @@
position: absolute;
top: 0;
left: 0;
.custom-control {
margin-left: 4px;
margin-right: -3px;
}
}
.document-card:hover .document-card-check {