Improve styling and positioning of the clear image button in configPage.html
This commit is contained in:
@@ -1026,7 +1026,7 @@
|
||||
' <span style="font-size: 0.85em; color: rgba(255,255,255,0.7);">Upload seasonal image</span>' +
|
||||
' <input type="file" class="seasonal-file-input" accept="image/png, image/jpeg, image/gif, image/webp" style="display: none;">' +
|
||||
' <img class="seasonal-preview-img" style="display: none; max-width: 100%; max-height: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 4px; z-index: 2; object-fit: contain;" />' +
|
||||
' <button type="button" is="paper-icon-button-light" class="seasonal-clear-btn" title="Clear Image" style="display: none; position: absolute; top: 0px; right: 0px; z-index: 3; color: #a94442;"><i class="material-icons">delete</i></button>' +
|
||||
' <button type="button" class="seasonal-clear-btn paper-icon-button-light" is="paper-icon-button-light" title="Clear Image" style="display: none; position: absolute; top: 10px; right: 10px; z-index: 3; color: #a94442; background: transparent; border: none; outline: none; padding: 8px; border-radius: 50%; cursor: pointer;"><i class="material-icons">delete</i></button>' +
|
||||
' </div>' +
|
||||
' </div>' +
|
||||
'</div>';
|
||||
|
||||
Reference in New Issue
Block a user