modal browser style changes

This commit is contained in:
viliusle 2021-01-03 21:23:13 +02:00
parent a15464d431
commit 9b62f90efb
3 changed files with 7 additions and 2 deletions

View File

@ -57,6 +57,7 @@
padding: .5rem 0;
text-align: center;
border-top: 1px solid var(--header-background-color);
z-index: 3;
}
#popup .close{
position: absolute;
@ -159,6 +160,10 @@
#popup .long_text_value{
font-size: 12px;
}
#popup .preview-item-title{
text-align: center;
max-width: 150px;
}
@media screen and (max-width:500px){
#popup {

View File

@ -30,7 +30,7 @@ class Effects_browser_class extends Base_tools_class {
html += ' <canvas id="c_' + data[i].key + '" width="' + this.preview_width + '" height="'
+ this.preview_height + '" class="effectsPreview" data-key="'
+ data[i].key + '"></canvas>';
html += '<div class="center">' + title + '</div>';
html += '<div class="preview-item-title">' + title + '</div>';
html += '</div>';
}
for (var i = 0; i < 4; i++) {

View File

@ -38,7 +38,7 @@ class Shape_class extends Base_tools_class {
html += ' <canvas id="c_' + data[i].key + '" width="' + this.preview_width + '" height="'
+ this.preview_height + '" class="effectsPreview" data-key="'
+ data[i].key + '"></canvas>';
html += '<div class="center">' + data[i].title + '</div>';
html += '<div class="preview-item-title">' + data[i].title + '</div>';
html += '</div>';
}
for (var i = 0; i < 4; i++) {