Created
November 28, 2017 01:48
-
-
Save tjmaxwell/41984b9147dd435a74e900545e40c7bb to your computer and use it in GitHub Desktop.
Account icon on mobile view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Put this code to style.css*/ | |
@media (min-width: 768px){ | |
.mobile-grid-wrapper .dropdown-menu{ | |
left: auto; | |
} | |
} | |
@media (max-width: 768px){ | |
.mobile-grid-wrapper{ | |
direction: rtl; | |
float: right; | |
} | |
.account-icon-mobile{ | |
float: right; | |
padding: 15px 5px; | |
} | |
.navbar-header>li.account-icon-mobile.open>.dropdown-grid-wrapper>.dropdown-menu{ | |
display: block; | |
right: auto; | |
direction: ltr; | |
} | |
.navbar-header{ | |
z-index: 3 !important; | |
} | |
} | |
@media (max-width: 360px){ | |
#header .navbar-brand > img { | |
max-width: 130px !important; | |
} | |
#header a.text-logo { | |
padding-right:10px | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment