summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Dip <dip.jesusr@gmail.com>2016-02-15 14:41:02 -0300
committerRémy Coutable <remy@rymai.me>2016-03-10 11:23:37 +0100
commitf17de3c2eb914ba0e7b513d9cc46694875491720 (patch)
treeb0976b66e132cd64f640948d1acb9850e455a79f
parent491ac7ce4b79c901e23799d2062f9f013f08c6c3 (diff)
downloadgitlab-ce-roperzh/gitlab-ce-issue-13334.tar.gz
Decrease the font size and the padding of the `.anchor` iconsroperzh/gitlab-ce-issue-13334
This commit fixes #13334, removing an overlap between the anchor icon and the sidebar
-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;