/* modal pictures */ .image-selector-content{ display: grid; grid-template-columns: 1fr 1fr 1fr; } .image-selector-content .image-element{ width: 150px; height: 150px; } .image-selector-content .image-element img{ width: 100%; height: 100%; object-fit: contain; overflow: hidden; border:2px solid white; } .image-selector-content .image-element img:hover{ border:2px solid gray; } .image-element{ position: relative; } .image-element span{ position: absolute; bottom:0px; left:5px; z-index: 10; font-weight: bold; margin-bottom: -20px; } .CodeMirror{ border: 1px solid #ced4da; border-radius: 4px; }