From 01eb4c298b445dde4c63da3342b5dcd71495c1ce Mon Sep 17 00:00:00 2001 From: Deimos Date: Mon, 12 Aug 2019 16:28:59 -0600 Subject: [PATCH] Move styles for collapsed
block Having it in _base.scss was breaking the mobile layout because it ended up affecting the text-topic excerpts. This should be safer, since it was really only intended to affect the new
blocks possible inside user text anyway. --- tildes/scss/_base.scss | 5 ----- tildes/scss/_placeholders.scss | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tildes/scss/_base.scss b/tildes/scss/_base.scss index af03ec0..922f078 100644 --- a/tildes/scss/_base.scss +++ b/tildes/scss/_base.scss @@ -50,11 +50,6 @@ dl dd { font-size: 0.7rem; } -details:not([open]) { - cursor: pointer; - display: inline-block; -} - // Fixes a Chrome bug that seems to treat children of
as having // box-sizing: content-box. See Known issues: https://caniuse.com/#feat=details details * { diff --git a/tildes/scss/_placeholders.scss b/tildes/scss/_placeholders.scss index 78f1313..6b50047 100644 --- a/tildes/scss/_placeholders.scss +++ b/tildes/scss/_placeholders.scss @@ -15,6 +15,11 @@ margin-bottom: 0.4rem; padding: 0.2rem 0.4rem; border: 1px dotted; + + &:not([open]) { + cursor: pointer; + display: inline-block; + } } hr {