Skip to content

Commit 150dc31

Browse files
committed
【fix】 修复各个端例子页面屏幕缩小时,标题需要换行; review by luoxiao
1 parent 6b869b2 commit 150dc31

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

examples/css/header.css

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ ul.icl-nav-menu-sub:nth-child(1) {
492492
}
493493

494494
#title {
495-
font-size: 14px;
495+
font-size: 18px;
496496
}
497497

498498
.pre-release {
@@ -510,6 +510,25 @@ ul.icl-nav-menu-sub:nth-child(1) {
510510
}
511511
}
512512

513+
@media screen and (max-width: 550px) {
514+
.navbar-header {
515+
display: flex;
516+
justify-content: space-between;
517+
}
518+
519+
.navbar-brand {
520+
height: 30px;
521+
line-height: 30px;
522+
}
523+
524+
.navbar-header #suffix-title {
525+
line-height: 14px;
526+
height: auto;
527+
font-size: 12px;
528+
margin-left: 43px;
529+
}
530+
}
531+
513532
@media screen and (max-width: 424px) {
514533
.skin-blue .main-header .navbar .nav > li > a {
515534
font-size: 13px;
@@ -551,6 +570,13 @@ ul.icl-nav-menu-sub:nth-child(1) {
551570
}
552571
}
553572

573+
@media screen and (max-width: 370px) {
574+
#logo {
575+
width: 32px;
576+
width: 32px;
577+
}
578+
}
579+
554580
/*尺寸小于376px时,logo、产品名称、右侧收缩按钮的样式,主要是为了适应iphone5等移动端的浏览器*/
555581
@media screen and (max-width: 356px) {
556582
.navbar-toggle {
@@ -561,6 +587,17 @@ ul.icl-nav-menu-sub:nth-child(1) {
561587
.menu-box {
562588
top: 240px;
563589
}
590+
591+
#logo {
592+
width: 22px;
593+
height: 28px;
594+
margin: 15px 0 0 0;
595+
}
596+
597+
.navbar-toggle>img {
598+
width: 22px;
599+
height: 30px;
600+
}
564601
}
565602

566603
@media screen and (max-height: 640px) {

0 commit comments

Comments
 (0)