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

Unified Diff: static/scss/_content.scss

Issue 29811579: Noissue - Made list spacing consistent and reduced on smaller screens (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Addressed #2 Created June 21, 2018, 12:28 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: static/scss/_content.scss
===================================================================
--- a/static/scss/_content.scss
+++ b/static/scss/_content.scss
@@ -115,24 +115,39 @@
padding-left: 0em;
border-right: 5px solid $secondary-light;
border-left: 0px;
}
ol,
ul
{
- padding-left: 1.5em;
+ padding-left: 1em;
}
[dir="rtl"] ol,
[dir="rtl"] ul
{
- padding-right: 2em;
- padding-left: 0em;
+ padding-right: 1em;
+ padding-left: 0;
+ }
+
+ @media (min-width: $desktop-width)
+ {
+ ol,
+ ul
+ {
+ padding-left: 1.5em;
+ }
+
+ [dir="rtl"] ol,
+ [dir="rtl"] ul
+ {
+ padding-right: 1.5em;
+ }
}
ol
{
list-style: decimal;
}
ul
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld