From fabb7059f8630660fde7b15834e6141fe61fa0f0 Mon Sep 17 00:00:00 2001 From: FelisCatus Date: Sun, 25 Jan 2015 15:58:18 +0800 Subject: [PATCH] Fix .profile-with-default-edit display when text is too long. Fix #229. --- omega-web/src/less/popup.less | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/omega-web/src/less/popup.less b/omega-web/src/less/popup.less index 1dba448..fd8591c 100644 --- a/omega-web/src/less/popup.less +++ b/omega-web/src/less/popup.less @@ -50,13 +50,15 @@ li > a { } &.profile-with-default-edit { - padding-right: 0; + padding-right: 32px; + position: relative; .dropdown-toggle { margin: -5px 0; color: inherit; - padding: 5px 8px; + padding: 5px 8px 3px; min-width: 20px; - float: right; + position: absolute; + right: 0; .glyphicon { margin-right: 0; @@ -66,7 +68,7 @@ li > a { } > li.active .dropdown-toggle { - border: none !important; + border-color: transparent !important; border-left: solid 1px !important; background: none !important; border-radius: 0 !important;