You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first button expandes to the limit of the container, bypassing its padding.
The solution would be for BootsFaces to wrap the button inside a div and auto apply the btn-block class, removing the need to manually create the column. Backward compatibility could be an issue here, though.
The text was updated successfully, but these errors were encountered:
The bug also affected the <b:commandButton />. I've repaired both, and added the documentation (including the description why this is a breaking change and how to fix it).
Bootstrap
col-XX-X
classes are not expected to be applied to buttons. Doing it makes the button go out of the container paddings.The correct way to make a button full width and responsive is to put it inside a col-XX-X div and add the
btn-block
class to it.The following snippet shows the two cases:
The result can be seen on: https://jsfiddle.net/ns8yhgnb/
The first button expandes to the limit of the container, bypassing its padding.
The solution would be for BootsFaces to wrap the button inside a div and auto apply the btn-block class, removing the need to manually create the column. Backward compatibility could be an issue here, though.
The text was updated successfully, but these errors were encountered: