diff options
author | Phil Hughes <me@iamphill.com> | 2016-06-01 12:33:32 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-02 09:10:29 +0100 |
commit | 855ff6423b78bafa06ce62a2bb724e58f1a0042b (patch) | |
tree | 08f35269a8a74ae98af7890ff06ad12b0df4597b /app/assets/stylesheets/pages/notes.scss | |
parent | 30524901e28176e96e7c0d1a710508367ff99d9f (diff) | |
download | gitlab-ce-855ff6423b78bafa06ce62a2bb724e58f1a0042b.tar.gz |
Shows the edit comment button on mobileedit-mobile
Closes #17214
Diffstat (limited to 'app/assets/stylesheets/pages/notes.scss')
-rw-r--r-- | app/assets/stylesheets/pages/notes.scss | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss index a3e1ac13a43..0e82c457232 100644 --- a/app/assets/stylesheets/pages/notes.scss +++ b/app/assets/stylesheets/pages/notes.scss @@ -118,6 +118,11 @@ ul.notes { .note-header { padding-bottom: 3px; + padding-right: 20px; + + @media (min-width: $screen-sm-min) { + padding-right: 0; + } } } @@ -179,6 +184,8 @@ ul.notes { .discussion-header, .note-header { + position: relative; + a { color: inherit; @@ -215,6 +222,16 @@ ul.notes { color: $notes-action-color; } +.note-actions { + position: absolute; + right: 0; + top: 0; + + @media (min-width: $screen-sm-min) { + position: relative; + } +} + .discussion-actions { @media (max-width: $screen-md-max) { float: none; @@ -228,8 +245,13 @@ ul.notes { .note-action-button { display: inline-block; - margin-left: 10px; - line-height: 24px; + margin-left: 0; + line-height: 20px; + + @media (min-width: $screen-sm-min) { + margin-left: 10px; + line-height: 24px; + } .fa { color: $notes-action-color; |