diff options
author | kibi! <marrus-sh@users.noreply.github.com> | 2018-01-14 15:31:00 -0800 |
---|---|---|
committer | kibi! <marrus-sh@users.noreply.github.com> | 2018-01-14 15:31:00 -0800 |
commit | b9f4896830552909294d6c3293cd7e0502d66fc1 (patch) | |
tree | 9479268f1c0cc217dd1ce4b003e476031f5d630d /app/javascript/flavours/glitch/styles/components/status.scss | |
parent | cd6674606fe07dbecdfb0c49a6968ff58188bfd8 (diff) |
Fixes to drawer and CWs
Diffstat (limited to 'app/javascript/flavours/glitch/styles/components/status.scss')
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/status.scss | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/status.scss b/app/javascript/flavours/glitch/styles/components/status.scss index 4f19042c8..9d52e8b08 100644 --- a/app/javascript/flavours/glitch/styles/components/status.scss +++ b/app/javascript/flavours/glitch/styles/components/status.scss @@ -12,21 +12,12 @@ word-wrap: break-word; font-weight: 400; overflow: visible; - white-space: pre-wrap; padding-top: 5px; &:focus { outline: 0; } - &.status__content--with-spoiler { - white-space: normal; - - .status__content__text { - white-space: pre-wrap; - } - } - .emojione { width: 20px; height: 20px; @@ -35,6 +26,7 @@ p { margin-bottom: 20px; + white-space: pre-wrap; &:last-child { margin-bottom: 0; @@ -69,11 +61,10 @@ } .status__content__spoiler { - background: lighten($ui-base-color, 30%); - - &:hover { - background: lighten($ui-base-color, 33%); - text-decoration: none; + display: none; + + &.status__content__spoiler--visible { + display: block; } } @@ -85,14 +76,6 @@ text-decoration: none; } } - - .status__content__text { - display: none; - - &.status__content__spoiler--visible { - display: block; - } - } } .status__content__spoiler-link { |