[英]Primefaces TabView responsiveness
I'm using primefaces 5.3 and I want to use primefaces' tabView . 我正在使用primefaces 5.3 ,我想使用primefaces的tabView 。
In primefaces showcase the component seems to be responsive, but in my code seems to be not. 在primefaces展示中,该组件似乎是响应式的,但在我的代码中似乎没有响应。 [
[
Question 1: Am I using older version than primefaces official site does? 问题1:我使用的版本是否比primefaces官方网站的版本旧? This is the latest I could find.
这是我能找到的最新消息。
Question 2: How could I make it responsive myself? 问题2:如何让自己做出回应?
The only I could think for this is using panelGrid but it doesn't seem to be working. 我唯一能想到的是使用panelGrid,但似乎没有用。
Any ideas? 有任何想法吗?
Thank you in advance! 先感谢您!
I solved the problem with CSS 我用CSS解决了这个问题
@media screen and (max-width: 810px) {
.ui-tabs.ui-tabs-top > .ui-tabs-nav li{
width: 100% !important;
}
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.