summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jschatz@gitlab.com>2017-04-12 20:56:18 +0000
committerJacob Schatz <jschatz@gitlab.com>2017-04-12 20:56:18 +0000
commite802a881d8ece47c907d0836b5d211eabe50a49f (patch)
tree446bf2339fdbefff9a79ed050bcbdfb6c9b45077
parent5c01d089b6e6734b606d9ee8ef92455479db1ac6 (diff)
parenta7c6a47aad6b095d61c890a7997de99de02836ea (diff)
downloadgitlab-ce-e802a881d8ece47c907d0836b5d211eabe50a49f.tar.gz
Merge branch '30858-system-notes-indent' into 'master'
Indent system notes on desktop screens Closes #30858 See merge request !10667
-rw-r--r--app/assets/stylesheets/pages/notes.scss16
1 files changed, 12 insertions, 4 deletions
diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss
index 94ea4c5c8c6..ad0f2f6efbb 100644
--- a/app/assets/stylesheets/pages/notes.scss
+++ b/app/assets/stylesheets/pages/notes.scss
@@ -18,12 +18,12 @@ ul.notes {
float: left;
svg {
- width: 18px;
- height: 18px;
+ width: 16px;
+ height: 16px;
fill: $gray-darkest;
position: absolute;
- left: 30px;
- top: 15px;
+ left: 0;
+ top: 16px;
}
}
@@ -144,6 +144,10 @@ ul.notes {
padding: 0;
clear: both;
+ @media (min-width: $screen-sm-min) {
+ margin-left: 65px;
+ }
+
&.timeline-entry::after {
clear: none;
}
@@ -172,6 +176,10 @@ ul.notes {
.timeline-content {
padding: 14px 10px;
+
+ @media (min-width: $screen-sm-min) {
+ margin-left: 20px;
+ }
}
.note-header {