From 7279fcd1ec713c5cb7a7939a43228ac26595ac06 Mon Sep 17 00:00:00 2001 From: pichalite Date: Thu, 10 Nov 2016 00:12:07 +0000 Subject: [PATCH 1/2] Fix chat UI on mobile sidebar --- less/mobile.less | 51 ++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 43 insertions(+), 8 deletions(-) diff --git a/less/mobile.less b/less/mobile.less index 63b50a8..ebc360f 100644 --- a/less/mobile.less +++ b/less/mobile.less @@ -27,6 +27,7 @@ .modal-content { height: 100%; + border: none; } } } @@ -76,16 +77,50 @@ li { width: auto; - padding: 0; - - a { - color: white; - - i { - left: 44px; - top: 9px; + border: none; + color: #fff; + position: relative; + height: 60px; + + &:hover { + background: none; + } + + &:not(:last-child) { + border-bottom: none; + } + + .main-avatar { + position: absolute; + top: 0; + left: 0; + + .avatar { + height: 40px; + width: 40px; + font-size: 20px; + border-radius: 0; } } + + .members { + display: none; + } + + .room-name { + display: block; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + padding-left: 60px; + } + + .teaser-content { + padding-left: 60px; + display: block; + font-size: 13px; + opacity: .8; + } } } From 130d4f9a470b16b382c91cb7e5d4908af44bbd31 Mon Sep 17 00:00:00 2001 From: Anil Mandepudi Date: Wed, 9 Nov 2016 16:14:54 -0800 Subject: [PATCH 2/2] fix tabs --- less/mobile.less | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/less/mobile.less b/less/mobile.less index ebc360f..6d8b76c 100644 --- a/less/mobile.less +++ b/less/mobile.less @@ -97,9 +97,9 @@ .avatar { height: 40px; - width: 40px; - font-size: 20px; - border-radius: 0; + width: 40px; + font-size: 20px; + border-radius: 0; } } @@ -110,16 +110,16 @@ .room-name { display: block; overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - padding-left: 60px; + white-space: nowrap; + text-overflow: ellipsis; + padding-left: 60px; } .teaser-content { padding-left: 60px; display: block; - font-size: 13px; - opacity: .8; + font-size: 13px; + opacity: .8; } } } @@ -247,4 +247,4 @@ [data-section="notifications"] ul li a:first-child { display: none; } -} \ No newline at end of file +}