From f4ab9f9932289489a79eb7e9e897a311b5cfbb37 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 19 Nov 2017 16:56:41 -0500 Subject: css: fix UI breaks --- public/less/_base.less | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'public/less') diff --git a/public/less/_base.less b/public/less/_base.less index ce422bf0..b65b9f99 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -98,6 +98,9 @@ pre, code { .avatar > .ui.image { margin-right: 0; } + .avatar .octicon-triangle-down { + margin-top: 6.5px; + } .searchbox { background-color: rgb(244, 244, 244) !important; &:focus { @@ -425,3 +428,13 @@ footer { background: inherit !important; padding: 0 !important; } + +// Reset CSS to prevent UI breaks +.ui.dropdown .menu>.item>.image, +.ui.dropdown .menu>.item>img, +.ui.dropdown>.text>.image, +.ui.dropdown>.text>img { + vertical-align: middle; + margin-top: 0; + margin-bottom: 0; +} \ No newline at end of file -- cgit v1.2.3