fix icons size and message update formatting & add missing blahs

This commit is contained in:
olcxja 2026-07-17 11:40:04 +02:00
commit 50ebf57b4c
16 changed files with 132 additions and 104 deletions

View file

@ -93,17 +93,17 @@
<div id="cropper-popup-container" class="profile-popup-container" style="z-index: 9999;">
<div class="profile-popup-bg" onclick="closeCropper()"></div>
<div class="profile-popup-content" style="max-width: 40rem; padding: 2rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; height: auto;">
<h2>Crop Image</h2>
<h2><blah>title.crop.image</blah></h2>
<div id="cropper-viewport-container" style="position: relative; overflow: hidden; background: #000; width: 100%; max-width: 30rem; border-radius: 0.8rem; border: var(--border-width) solid rgba(255,255,255,0.2);">
<img id="cropper-image" src="" style="position: absolute; transform-origin: 0 0; cursor: move;">
</div>
<div style="display: flex; align-items: center; gap: 1rem; width: 100%; max-width: 30rem;">
<span>Zoom</span>
<span><blah>title.zoom</blah></span>
<input type="range" id="cropper-zoom" min="0.1" max="5" step="0.01" value="1" style="flex: 1;" oninput="updateCropperZoom()">
</div>
<div style="display: flex; gap: 1rem; margin-top: 1rem; width: 100%; max-width: 30rem;">
<button class="submit-button" style="background: rgba(255,255,255,0.1); color: var(--text-color); flex: 1;" onclick="closeCropper()">Cancel</button>
<button class="submit-button" style="flex: 1;" onclick="confirmCropper()">Save</button>
<button class="submit-button blah" style="background: rgba(255,255,255,0.1); color: var(--text-color); flex: 1;" onclick="closeCropper()">action.cancel</button>
<button class="submit-button blah" style="flex: 1;" onclick="confirmCropper()">action.save</button>
</div>
</div>
</div>