mirror of
https://github.com/danpros/htmly.git
synced 2026-04-21 21:16:23 +05:30
css grid + checkerboard pattern behind images in the modal image uploader gallery
This commit is contained in:
parent
2117a32fc3
commit
28f032ee50
5 changed files with 44 additions and 83 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue