diff options
Diffstat (limited to 'app/assets/stylesheets/pages/note_form.scss')
-rw-r--r-- | app/assets/stylesheets/pages/note_form.scss | 35 |
1 files changed, 30 insertions, 5 deletions
diff --git a/app/assets/stylesheets/pages/note_form.scss b/app/assets/stylesheets/pages/note_form.scss index 05b9018d21e..b637994adf8 100644 --- a/app/assets/stylesheets/pages/note_form.scss +++ b/app/assets/stylesheets/pages/note_form.scss @@ -312,11 +312,19 @@ } .comment-type-dropdown { - .dropdown-toggle .fa { - color: $white-light; - padding-right: 2px; - margin-top: 2px; - pointer-events: none; + .comment-btn { + width: auto; + } + + .dropdown-toggle { + float: right; + + .toggle-icon { + color: $white-light; + padding-right: 2px; + margin-top: 2px; + pointer-events: none; + } } .dropdown-menu { @@ -375,4 +383,21 @@ padding: 0; border-top: $gray-darkest; } + + @media (max-width: $screen-xs-max) { + display: flex; + width: 100%; + + .comment-btn { + flex-grow: 1; + flex-shrink: 0; + width: auto; + } + + .dropdown-toggle { + flex-grow: 0; + flex-shrink: 1; + width: auto; + } + } } |