summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jschatz1@gmail.com>2016-03-10 15:18:37 +0000
committerJacob Schatz <jschatz1@gmail.com>2016-03-10 15:18:37 +0000
commit8179f4fc0cffc81acf0040dddf593b0cd2abde2e (patch)
tree6682e918fdf34f3ae9c140ef37c7dbbe2a33de03
parent38823e3e83aefee02263064a1014285578ac39b3 (diff)
parentf17de3c2eb914ba0e7b513d9cc46694875491720 (diff)
downloadgitlab-ce-8179f4fc0cffc81acf0040dddf593b0cd2abde2e.tar.gz
Merge branch 'roperzh/gitlab-ce-issue-13334' into 'master'
Decrease the font size and the padding of the `.anchor` icons used in the README _Originally opened at !2819 by @roperzh._ - - - ## What does this MR do? Removes an overlap between the anchor icons on the readme and the sidebar on small screens by reducing the size and the padding of the icon. ## Are there points in the code the reviewer needs to double check? Probably someone in the Design / UX team will need to review if the solution makes sense. ## What are the relevant issue numbers? Issue #13334 ## Screenshots ![Screen_Shot_2016-02-15_at_3.35.13_PM](/uploads/0e8b215809eee8efec9b6a136b0bd841/Screen_Shot_2016-02-15_at_3.35.13_PM.png) See merge request !3150
-rw-r--r--CHANGELOG1
-rw-r--r--app/assets/stylesheets/framework/typography.scss8
2 files changed, 5 insertions, 4 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 9474ca50b24..1c27c3388cf 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -14,6 +14,7 @@ v 8.6.0 (unreleased)
- Strip leading and trailing spaces in URL validator (evuez)
- Add "last_sign_in_at" and "confirmed_at" to GET /users/* API endpoints for admins (evuez)
- Return empty array instead of 404 when commit has no statuses in commit status API
+ - Decrease the font size and the padding of the `.anchor` icons used in the README (Roberto Dip)
- Add support for cross-project label references
- Update documentation to reflect Guest role not being enforced on internal projects
- Allow search for logged out users
diff --git a/app/assets/stylesheets/framework/typography.scss b/app/assets/stylesheets/framework/typography.scss
index 48570abff49..9381cb3281c 100644
--- a/app/assets/stylesheets/framework/typography.scss
+++ b/app/assets/stylesheets/framework/typography.scss
@@ -149,13 +149,13 @@
}
&:hover > a.anchor {
- $size: 16px;
+ $size: 14px;
position: absolute;
right: 100%;
top: 50%;
- margin-top: -$size/2;
- margin-right: 0px;
- padding-right: 20px;
+ margin-top: -11px;
+ margin-right: 0;
+ padding-right: 15px;
display: inline-block;
width: $size;
height: $size;