text alignment for widthxheight images

This commit is contained in:
Gavin McDonald
2025-08-24 11:13:18 -04:00
parent 3ab19e01fd
commit a981cf98d7
6 changed files with 69 additions and 60 deletions

View File

@@ -149,12 +149,16 @@
</div>
</div>
<.radio_component options={Constants.permitted_alignments()} selected={@align} />
<.radio_component
options={Constants.permitted_alignments()}
selected={@align}
event_name="update_alignment"
/>
</form>
<div class="text-center">
<a href={@link}>
<button class="inline-block bg-primary text-fg-light dark:text-fg-dark px-4 py-2 rounded hover:bg-highlight focus:ring-fg-light focus:dark:ring-fg-dark">
<button class="inline-block bg-primary text-fg-light px-4 py-2 rounded hover:bg-highlight focus:ring-fg-light focus:dark:ring-fg-dark">
Create
</button>
</a>