Lightbox doesn't work in custom wizard
Dieser Commit ist enthalten in:
Ursprung
d3eaceefe1
Commit
dd3875840b
2 geänderte Dateien mit 13 neuen und 11 gelöschten Zeilen
|
@ -10,11 +10,9 @@
|
|||
</label>
|
||||
|
||||
{{#if field.value}}
|
||||
<a href="{{field.value.url}}" class="filename">
|
||||
{{#unless isImage}}
|
||||
{{field.value.original_filename}}
|
||||
{{else}}
|
||||
<img src={{field.value.url}} class="wizard-image-preview">
|
||||
{{/unless}}
|
||||
</a>
|
||||
{{#unless isImage}}
|
||||
{{field.value.original_filename}}
|
||||
{{else}}
|
||||
<img src={{field.value.url}} class="wizard-image-preview">
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
|
|
|
@ -233,13 +233,17 @@
|
|||
}
|
||||
|
||||
.wizard-image-preview {
|
||||
max-width: 200px;
|
||||
max-height: 200px;
|
||||
margin-top: 10px;
|
||||
max-width: 500px;
|
||||
max-height: 500px;
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
border: none;
|
||||
padding: 0;
|
||||
|
||||
img {
|
||||
max-width:100%;
|
||||
max-height:100%;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Laden …
In neuem Issue referenzieren