Using PrimeFaces with Bootstrap causes changes in padding/sizing/borders

后端 未结 1 361
名媛妹妹
名媛妹妹 2020-11-30 14:31

Well, I disabled all themes from PrimeFaces:

  
    primefaces.THEME  
    none         


        
相关标签:
1条回答
  • 2020-11-30 15:20

    Almost all other components will fail to, look and feel wise. Since bootstrap 3 switched to a different box-sizing (border-box instead of content-box). So lots and lots of small ui things will fail in PF components, like icons in selectlists being wrongly positioned etc... It is very difficult to fix all these in my opinion.

    If you want to use bootstrap for the responsive layout things, PF something similar to, called the grid css and more is comming

    0 讨论(0)
提交回复
热议问题