From 802103ff275552c75a5d5d5a7835d9c1c63315e5 Mon Sep 17 00:00:00 2001 From: Scott Tolksdorf Date: Sun, 29 May 2016 13:42:05 -0400 Subject: [PATCH] Paragrapghs now indent after lists --- changelog.md | 1 + client/homebrew/phbStyle/phb.style.less | 5 ++++- phb.standalone.css | 6 +++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index e6cda5c..4ea135f 100644 --- a/changelog.md +++ b/changelog.md @@ -5,6 +5,7 @@ - Override Ctrl+P (and cmd+P) to launch to the print page. Many people try to just print either the editing or share page to get a PDF. While this dones;t make much sense, I do get a ton of issues about it. So now if you try to do this, it'll just bring you imediately to the print page. Everybody wins! - The onboarding flow has also been confusing a few users (Homepage -> new -> save -> edit page). If you edit the Homepage text now, a Call to Action to save your work will pop-up. - Added a 'Recently Edited' and 'Recently Viewed' nav item to the edit and share page respectively. Each will remember the last 8 items you edited or viewed and when you viewed it. Makes use of the new title attribute of brews to easy navigatation. +- Paragraphs now indent properly after lists (thanks u/slitjen!) ### Friday, 27/05/2016 - v2.0.6 - Updated the issue template for (hopefully) better reporting diff --git a/client/homebrew/phbStyle/phb.style.less b/client/homebrew/phbStyle/phb.style.less index 7c4f4f7..2d6a7e1 100644 --- a/client/homebrew/phbStyle/phb.style.less +++ b/client/homebrew/phbStyle/phb.style.less @@ -59,7 +59,6 @@ line-height : 1.3em; &+p{ margin-top : -0.8em; - text-indent : 1em; } } ul{ @@ -76,6 +75,10 @@ list-style-position : outside; list-style-type : decimal; } + //Indents after p or lists + p+p, ul+p, ol+p{ + text-indent : 1em; + } img{ z-index : -1; } diff --git a/phb.standalone.css b/phb.standalone.css index efd2884..eeadfc2 100644 --- a/phb.standalone.css +++ b/phb.standalone.css @@ -208,7 +208,6 @@ table { } .phb p + p { margin-top: -0.8em; - text-indent: 1em; } .phb ul { margin-bottom: 0.8em; @@ -224,6 +223,11 @@ table { list-style-position: outside; list-style-type: decimal; } +.phb p + p, +.phb ul + p, +.phb ol + p { + text-indent: 1em; +} .phb img { z-index: -1; }