Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 17:30:29 +01:00
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>
|
</label>
|
||||||
|
|
||||||
{{#if field.value}}
|
{{#if field.value}}
|
||||||
<a href="{{field.value.url}}" class="filename">
|
|
||||||
{{#unless isImage}}
|
{{#unless isImage}}
|
||||||
{{field.value.original_filename}}
|
{{field.value.original_filename}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<img src={{field.value.url}} class="wizard-image-preview">
|
<img src={{field.value.url}} class="wizard-image-preview">
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
</a>
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -233,9 +233,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.wizard-image-preview {
|
.wizard-image-preview {
|
||||||
max-width: 200px;
|
margin-top: 10px;
|
||||||
max-height: 200px;
|
max-width: 500px;
|
||||||
|
max-height: 500px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
display: block;
|
||||||
|
border: none;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
Laden …
In neuem Issue referenzieren