Skip to content

Commit ebea9bf

Browse files
author
pipeline
committed
feature(EJ2-4392): sb logo changes for mobile screen size
1 parent efaff36 commit ebea9bf

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed
2.41 KB
Loading

styles/index.css

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -592,15 +592,18 @@ ul#themelist {
592592
padding-right: 0px;
593593
}
594594
.sb-header>.sb-h-left {
595-
padding-left: 0px;
595+
padding-left: 10px;
596+
padding-top: 10px;
596597
}
597598
#themeswitcher {
598599
margin-left: 0px;
599-
width: 50px;
600600
}
601601
#themeswitcher-icon {
602602
height: 100%;
603-
width: 50px;
603+
}
604+
.sb-logo {
605+
width: 270px;
606+
background: url('images/SB_icon/sb-logo-mobile-small.png') no-repeat;
604607
}
605608
.options li {
606609
padding: 10px;
@@ -732,11 +735,13 @@ a.code:link, a.code:visited {
732735
}
733736
}
734737

735-
@media screen and (min-width: 150px) and (max-width: 480px) {
738+
@media screen and (min-width: 375px) and (max-width: 480px) {
736739
.sb-logo {
737740
width: 300px;
738741
background: url('images/SB_icon/sb-logo-mobile.png') no-repeat;
739742
}
743+
}
744+
@media screen and (min-width: 150px) and (max-width: 480px) {
740745
.sample-name {
741746
font-size: 13px;
742747
}

0 commit comments

Comments
 (0)