From 754aa1ca303d584169ea5487e349bdcae4cf7971 Mon Sep 17 00:00:00 2001 From: Silke Pisulla Date: Mon, 9 Jan 2017 11:09:49 +0100 Subject: [PATCH] image position in jiralink --- css/plugins/magic-matcher.less | 37 ++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/css/plugins/magic-matcher.less b/css/plugins/magic-matcher.less index faa51dd..02b9170 100755 --- a/css/plugins/magic-matcher.less +++ b/css/plugins/magic-matcher.less @@ -11,13 +11,15 @@ top: 0; left: 0; width: 100%; - #mm__issueselect_chosen{ + + #mm__issueselect_chosen { max-width: 50%; } - button[name="toggleSuggestions"]{ + button[name="toggleSuggestions"] { position: absolute; - right: 0; top: 0; + right: 0; + top: 0; border: 0; border-bottom: 1px solid @color-border; border-left: 1px solid @color-border; @@ -25,26 +27,28 @@ background: #fff; border-radius: 0; border-bottom-left-radius: 5px; - &:hover, &:focus, &:active{ + + &:hover, + &:focus, + &:active { border-color: @button_background; color: @button_background; } } #magicmatcher__context { - box-sizing: border-box; - background-color: __nav_direct_background__; - box-shadow: __box_shadow__; - border-radius: 0 0 __default_border_radius__ __default_border_radius__; position: relative; z-index: 100; width: 100%; min-height: @height-context-bar; + box-sizing: border-box; + box-shadow: __box_shadow__; + background-color: __nav_direct_background__; + border-radius: 0 0 __default_border_radius__ __default_border_radius__; + font-size: .88rem; padding: .8em 1em .5em; margin-bottom: 0; - font-size: .88rem; - .chosen-container-single, .chosen-container-single *, #mm_issue_loading, @@ -54,14 +58,15 @@ } .chosen-container-single { - .chosen-single span { line-height: @line-height-bigger; } } + @media @screen_max-md { padding-top: 1.8rem; - .chosen-container{ + + .chosen-container { display: block; min-width: 100%; max-width: 100%; @@ -78,7 +83,7 @@ a.jiralink { img { float: left; display: inline-block; - margin-top: .3em; + margin-top: .13em; margin-right: 3px; } @@ -119,10 +124,12 @@ a.jiralink { @media @screen_max-md { #dokuwiki_magic-matcher { position: relative; - .container{ + + .container { margin: .8rem 0 -5px; } - #magicmatcher__context{ + + #magicmatcher__context { border-radius: 0; } }