[OutSystems UI] Button group is not well aligned

Forge Component
Published on 1 Jun (5 days ago) by OutSystems R&D
84 votes
Published on 1 Jun (5 days ago) by OutSystems R&D

On our environment, the buttongroup is not well aligned. When i use a buttongroup, the button gets the width of the text instead of aligned in the buttongroup.

On my personal environment, it is working well.

In my company environment

Both environments are using latest version of MobilePatterns.

Difference that we discovered is that the personal environment is using OutSystemsReactWidgets.css. en the company environment isn't.

Do we have missing dependencies?

Hi Matthias.

Did you check if you're using the same version and also if there's no CSS class overriding the links?

I just tested on my personal environment and it also worked well.



No, there is no problem with overriding, it looks like there is an error in the OutSystemsReactWidgets.css.

In the css there is a comment line '//hubedition: ignore-unversioned-urls' but, this isn't a valid comment in css, so the css class after this 'comment' is ignored.

Work-a-round: Added the ignored class to my own css, and it is working properly for now.