My-Little-Forum / mylittleforum

A simple PHP and MySQL based internet forum that displays the messages in classical threaded view (tree structure)
GNU General Public License v3.0
121 stars 47 forks source link

flexbof for ham and spam buttons, ready for reuse #626

Closed auge8472 closed 2 years ago

auge8472 commented 2 years ago

The buttons are styled inline and have no gaps inbetween. They have therefore a poor usability especially on mobile devices with small viewports. The flexbox brings customisable gaps to them. Furthermore I changed the submit buttons from input of type submit to button. That way we have more control over the content of the buttons ((styled) text, icons, …)

To change to button and to classifying their parent element as .buttonbar makes it easy to reuse the rules for other cases. Make the buttons buttons and put the buttons into an element with the class .buttonbar and you are done.