Center only the image, keep label left-aligned

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-26 09:17:52 +01:00
parent a6844e3ab2
commit 8f76ca0b31
+3 -2
View File
@@ -179,6 +179,8 @@
/* Image section */
.image-section {
margin-top: 0.5rem;
}
.image-preview-wrap {
text-align: center;
}
.image-preview {
@@ -194,7 +196,6 @@
flex-wrap: wrap;
gap: 0.5rem;
align-items: flex-end;
text-align: left;
}
.image-controls .url-input-group {
flex: 1;
@@ -279,7 +280,7 @@
<!-- Image section -->
<div class="image-section">
<label>Kép</label>
<div>
<div class="image-preview-wrap">
<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>