Replies: 1 comment 1 reply
-
Once upon a time, we were using Flexigrid, jquery-ui and its toolbar markup, which had that 3 div inside each other for styling. Probably they chose that as toolbuttons were not supposed to be buttons, and styling browser elements were not that easy, not sure. Now if we change the markup, it would be a breaking change. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, serenity is rendering a button using
<div>
. which looks like the followingbut the same can be achieved using
<button>
<button class="add-button"><i class="fa fa-plus-circle"></i> New Product</button>
Is there any reason for using
<div>
instead of<button>
?Beta Was this translation helpful? Give feedback.
All reactions