bs5: fix card checkboxes no longer custom controls

This commit is contained in:
Michael Shamoon
2022-02-19 22:57:04 -08:00
parent 4400915e0c
commit 99409f258f
4 changed files with 41 additions and 8 deletions

View File

@@ -27,7 +27,23 @@
}
.document-card-check {
display: none
display: none;
position: absolute;
top: 0;
left: 0;
padding: 0.5rem;
border-top-left-radius: 0.25rem;
border-bottom-right-radius: 0.25rem;
.form-check {
padding: 0;
min-height: 0;
margin-bottom: 0;
.form-check-input {
margin-left: 0;
}
}
}
.document-card:hover .document-card-check {
@@ -36,6 +52,10 @@
.card-selected {
border-color: $primary;
.document-card-check {
display: block;
}
}
.doc-img-background-selected {