【问题标题】:Boostrap Navbar/Sidebar issues引导导航栏/侧边栏问题
【发布时间】:2015-11-16 10:56:37
【问题描述】:

自从我尝试了 Sandstone 样式后,侧边栏有点高/导航栏进入侧边栏。与左侧的下拉菜单相同。

砂岩:https://bootswatch.com/sandstone/
模板:http://startbootstrap.com/template-overviews/sb-admin-2/

我已经尝试设置 max-heigh: 50px;但它破坏了移动,设计,因为它需要扩展右下拉菜单的原因。

有什么想法吗?

【问题讨论】:

  • 如果不提供小提琴或一些经过验证的代码,没有人可以在这里为您提供帮助。请提供他们

标签: html css twitter-bootstrap


【解决方案1】:

你为什么不尝试设置max-height:50px 但使用@media-screen css 规则?

例如:@media screen and (min-width: 769px){#sidebar{max-height:50px;}}

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-07-03
    • 1970-01-01
    • 1970-01-01
    • 2018-06-19
    • 1970-01-01
    相关资源
    最近更新 更多