Search code examples
csssapui5

Mixing `sap.m` with `sap.ui.commons` Breaks CSS of FileUploader


I need mobile UI5 only because of the TileContainer. But including sap.m together with sap.ui.commons breaks the CSS of my good-looking FileUploader (button looses its formatting) and TreeTable (fonts are too big).

Seems like a CSS conflict or overriding. How would you suggest to fix this?

JS Bin sample: http://jsbin.com/faveli/4/edit?html,js,output

Screenshot


Solution

  • Thank you for the hint, Tobias!

    The solution was to change the order of imported libraries:

            data-sap-ui-libs='sap.m,sap.ui.commons,sap.ui.table'>
    

    the sap.m should stay before sap.ui.commons