简体   繁体   English

PrimeFaces Dock图标问题

[英]PrimeFaces Dock icon issue

I am using the Primefaces Doc. 我正在使用Primefaces Doc。 When it displays, it displays like so: 显示时,显示如下:

在此处输入图片说明

The icons are on top of each other and not spread out in the doc like normal. 这些图标彼此重叠,并且不像通常那样在文档中散布。 I tried messing with the css elements on the page but could not find one that is causing this. 我尝试弄乱页面上的css元素,但找不到导致此问题的元素。

Does anyone have any idea on why this might be or if it is indeed css (or the element) that is causing this? 有谁知道为什么会这样,或者是否确实是CSS(或元素)导致了这一点?

It appears the problem was because I added jQuery explicitly, and Primefaces adds it on its own. 出现问题的原因是因为我显式添加了jQuery,而Primefaces则单独添加了它。 If you do this, you will run into weird css issues. 如果执行此操作,则会遇到奇怪的CSS问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM