Center only the image, keep label left-aligned
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -179,6 +179,8 @@
|
|||||||
/* Image section */
|
/* Image section */
|
||||||
.image-section {
|
.image-section {
|
||||||
margin-top: 0.5rem;
|
margin-top: 0.5rem;
|
||||||
|
}
|
||||||
|
.image-preview-wrap {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.image-preview {
|
.image-preview {
|
||||||
@@ -194,7 +196,6 @@
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
text-align: left;
|
|
||||||
}
|
}
|
||||||
.image-controls .url-input-group {
|
.image-controls .url-input-group {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
@@ -279,7 +280,7 @@
|
|||||||
<!-- Image section -->
|
<!-- Image section -->
|
||||||
<div class="image-section">
|
<div class="image-section">
|
||||||
<label>Kép</label>
|
<label>Kép</label>
|
||||||
<div>
|
<div class="image-preview-wrap">
|
||||||
<img id="recipeImage" class="image-preview" src="" alt="" style="display:none;">
|
<img id="recipeImage" class="image-preview" src="" alt="" style="display:none;">
|
||||||
<div id="noImageText" class="text-dim" style="display:none; font-size:0.9rem;">Nincs kép</div>
|
<div id="noImageText" class="text-dim" style="display:none; font-size:0.9rem;">Nincs kép</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user