use fixed width and height to force buttons to be consistent with new rot pngs

This commit is contained in:
2025-01-08 13:37:01 +11:00
parent 58715491ea
commit 70908d60f5

View File

@@ -251,15 +251,15 @@
</div> </div>
<div class="col col-auto pt-1"> <div class="col col-auto pt-1">
<button class="btn btn-outline-info p-1" title="Rotate by 90 degrees" onClick="Transform(90)"> <button class="btn btn-outline-info p-1" title="Rotate by 90 degrees" onClick="Transform(90)">
<img src="{{url_for('internal', filename='rot90.png')}}" height="32" onMouseOver="this.src='{{url_for('internal', filename='rot90-invert.png')}}'" <img src="{{url_for('internal', filename='rot90.png')}}" width="32" height="32" onMouseOver="this.src='{{url_for('internal', filename='rot90-invert.png')}}'"
onMouseOut="this.src='{{url_for('internal', filename='rot90.png')}}'" /> onMouseOut="this.src='{{url_for('internal', filename='rot90.png')}}'" />
</button> </button>
<button class="btn btn-outline-info p-1" title="Rotate by 180 degrees" onClick="Transform(180)"> <button class="btn btn-outline-info p-1" title="Rotate by 180 degrees" onClick="Transform(180)">
<img src="{{url_for('internal', filename='rot180.png')}}" height="32" onMouseOver="this.src='{{url_for('internal', filename='rot180-invert.png')}}'" <img src="{{url_for('internal', filename='rot180.png')}}" width="32" height="32" onMouseOver="this.src='{{url_for('internal', filename='rot180-invert.png')}}'"
onMouseOut="this.src='{{url_for('internal', filename='rot180.png')}}'" /> onMouseOut="this.src='{{url_for('internal', filename='rot180.png')}}'" />
</button> </button>
<button class="btn btn-outline-info p-1" title="Rotate by 270 degrees" onClick="Transform(270)"> <button class="btn btn-outline-info p-1" title="Rotate by 270 degrees" onClick="Transform(270)">
<img src="{{url_for('internal', filename='rot270.png')}}" height="32" onMouseOver="this.src='{{url_for('internal', filename='rot270-invert.png')}}'" <img src="{{url_for('internal', filename='rot270.png')}}" width="32" height="32" onMouseOver="this.src='{{url_for('internal', filename='rot270-invert.png')}}'"
onMouseOut="this.src='{{url_for('internal', filename='rot270.png')}}'" /> onMouseOut="this.src='{{url_for('internal', filename='rot270.png')}}'" />
</button> </button>
<button class="btn btn-outline-info p-1" title="Flip horizontally" onClick="Transform('fliph')"> <button class="btn btn-outline-info p-1" title="Flip horizontally" onClick="Transform('fliph')">