restore drag preview
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.document-drag-preview__thumb {
|
||||
.document-drag-preview__item {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
@@ -38,23 +38,23 @@
|
||||
transform-origin: center;
|
||||
}
|
||||
|
||||
.document-drag-preview__thumb--image {
|
||||
.document-drag-preview__item--image {
|
||||
background-color: #000;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.document-drag-preview__thumb .document-thumbnail,
|
||||
.document-drag-preview__thumb img {
|
||||
.document-drag-preview__item .document-thumbnail,
|
||||
.document-drag-preview__item img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.document-drag-preview__thumb .thumb-placeholder,
|
||||
.document-drag-preview__thumb .thumb-placeholder * {
|
||||
.document-drag-preview__item .thumb-placeholder,
|
||||
.document-drag-preview__item .thumb-placeholder * {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
@@ -332,4 +332,3 @@
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user