From 783c323afc54528ede81cb28b5bcdc6f3cf84679 Mon Sep 17 00:00:00 2001 From: kilo Date: Sat, 22 Jul 2017 00:25:45 +0200 Subject: [PATCH] h-user improvements (#1256) * Update main.css * Update main.css * Update main.css * fixed --- public/css/main.css | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/public/css/main.css b/public/css/main.css index ab63fbdc..907755dc 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -96,7 +96,7 @@ float: right; } } -.header .h-search { margin-right: 10px; } +.header .h-search { margin-right: 8px; } .header .h-search .form-input { font-size: 80%; line-height: 18px; } .header .h-search select.form-input { max-width: 110px !important; } @@ -171,14 +171,14 @@ select.form-input { .header .h-user { display: inline-block; - width: 148px; + width: 150px; } .header .h-user .nav-btn { float: right; padding: 0; height: 60px; - max-width: 151px; + width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; @@ -195,7 +195,6 @@ select.form-input { .header .h-user .user-menu { display: none; - margin-left: 6px; border: 1px solid; border-top: none; border-radius: 0 0 5px 5px; @@ -228,7 +227,7 @@ select.form-input { font-size: 10pt; font-weight: bold; display: block; - float: left; + float: right; height: 60px; line-height: 60px; /* Property is ignored due to the display. With 'display: block', vertical-align should not be used. */ @@ -420,7 +419,7 @@ html, body { .header .h-user { width: 58px; } .header .h-user .user-menu { right: 100px; } .header .h-user .user-info { display: none; } - .header .h-user .nav-btn { padding: 0px; } + .header .h-user > .nav-btn { padding: 0px; width: 50px; } } @media (min-width: 960px) { .visible-md { display: none } }