css grid + checkerboard pattern behind images in the modal image uploader gallery

This commit is contained in:
sean1138 2025-09-17 12:42:43 -04:00
commit 28f032ee50
5 changed files with 44 additions and 83 deletions

View file

@ -240,24 +240,6 @@ if ($type == 'is_page' || $type == 'is_frontpage') {
<style>
.wmd-prompt-background {z-index:10!important;}
#wmd-preview img {max-width:100%;}
.cover-container {
overflow: auto;
max-height: 65vh;
width: 100%;
white-space: nowrap;
}
.cover-item {
position: relative;
margin: 2px 2px;
border-top-right-radius: 2px;
width: 190px;
height: 140px;
vertical-align: top;
background-position: top left;
background-repeat: no-repeat;
background-size: cover;
float:left;
}
</style>
<div class="modal fade" id="insertImageDialog" tabindex="-1" role="dialog" aria-labelledby="insertImageDialogTitle" aria-hidden="true">