Fix image upload button
This commit is contained in:
+2
-2
@@ -47,11 +47,11 @@ button { color: inherit; }
|
||||
|
||||
.upload-card { width: 100%; min-height: 100px; max-height: 260px; display: block; position: relative; overflow: hidden; border: 1px dashed #a5a59e; background: #ebe7dd; }
|
||||
.upload-card canvas { width: 100%; height: 100%; display: block; pointer-events: none; }
|
||||
.upload-card input { position: absolute; opacity: 0; pointer-events: none; }
|
||||
.upload-card .file-input { display: none; }
|
||||
.crop-preview { cursor: grab; touch-action: none; }
|
||||
.crop-preview:active { cursor: grabbing; }
|
||||
.crop-frame { position: absolute; inset: 0; border: 2px solid rgba(255,255,255,.85); box-shadow: inset 0 0 0 1px rgba(20,30,25,.22); pointer-events: none; }
|
||||
.upload-overlay { position: absolute; right: 10px; bottom: 10px; padding: 7px 10px; color: white; background: rgba(22, 75, 57, .86); font-size: 12px; }
|
||||
.upload-overlay { position: absolute; z-index: 3; right: 10px; bottom: 10px; padding: 7px 10px; border: 0; color: white; background: rgba(22, 75, 57, .9); cursor: pointer; font-size: 12px; }
|
||||
.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 9px 0 24px; color: var(--muted); font-size: 11px; }
|
||||
.crop-zoom { margin-top: 0; }
|
||||
.reset-crop { width: 100%; margin: 7px 0 20px; padding: 7px; border: 1px solid var(--line); background: white; cursor: pointer; color: var(--muted); font-size: 11px; }
|
||||
|
||||
Reference in New Issue
Block a user