WoltLab / WCF

WoltLab Suite Core (previously WoltLab Community Framework)
https://www.woltlab.com
GNU Lesser General Public License v2.1
238 stars 145 forks source link

Poll - changing the arrangement of buttons. #6075

Open eveneme opened 1 week ago

eveneme commented 1 week ago

Changing the position of the add poll button and remove poll button, and increasing the spacing between buttons to make them easier to click on both computers and mobile devices.

Before: Zrzut ekranu 2024-07-06 194406

After: Zrzut ekranu 2024-07-12 173936

Please implement.:

.pollOptionContainer .pollOptionInput { flex-direction: row-reverse; } .pollOptionContainer .pollOptionInput > input { margin-left: 0px; margin-right: 5px; } .pollOptionContainer .pollOptionInput button { background-color: var(--wcfButtonBackground); border-radius: 2px; color: var(--wcfButtonText); margin: 2px; } .pollOptionContainer .pollOptionInput button:hover { background-color: var(--wcfButtonBackgroundActive); color: var(--wcfButtonTextActive); } .pollOptionContainer .pollOptionInput button fa-icon[size="16"] { --icon-size: 18px; }