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: Created June 20, 2018, 3:24 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,26 +115,42 @@
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-right: 1em;
padding-left: 0em;
}
+ @media (min-width: $desktop-width)
+ {
+ ol,
+ ul
+ {
+ padding-left: 1.5em;
+ }
+
+ [dir="rtl"] ol,
+ [dir="rtl"] ul
+ {
+ padding-right: 1.5em;
+ padding-left: 0em;
ire 2018/06/20 18:08:27 You don't need this line
juliandoucette 2018/06/21 12:28:48 Good catch!
+ }
+ }
+
ol
{
list-style: decimal;
}
ul
{
list-style: disc;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld