Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: static/src/scss/components/_pre-icon.scss

Issue 29633564: Issue 5765 - Remove custom spacing units in help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Fixed issues with rebase Created Dec. 11, 2017, 4:37 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « static/src/scss/components/_lists.scss ('k') | static/src/scss/components/_search-form.scss » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: static/src/scss/components/_pre-icon.scss
===================================================================
--- a/static/src/scss/components/_pre-icon.scss
+++ b/static/src/scss/components/_pre-icon.scss
@@ -31,19 +31,19 @@
}
.pre-icon
{
display: inline-block;
position: absolute;
top: 50%;
left: 0;
- width: 1em;
- height: 1em;
- margin-top: -0.55em;
+ width: $small-space;
+ height: $small-space;
+ margin-top: -$x-small-space - 0.05em; /* Height of .pre-icon minus 0.05em */
background-repeat: no-repeat;
background-position: center;
background-size: 0.9em;
}
[dir="rtl"] .pre-icon
{
right: 0;
« no previous file with comments | « static/src/scss/components/_lists.scss ('k') | static/src/scss/components/_search-form.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld