From 70df697aab56de4278acf9d8535c66409f89d959 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Sat, 23 Mar 2019 21:59:09 -0400 Subject: [PATCH] fix: button overlfow style --- src/ui/scss/component/_button.scss | 5 ----- src/ui/scss/component/_markdown-preview.scss | 8 ++++++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/ui/scss/component/_button.scss b/src/ui/scss/component/_button.scss index 73615e1b0..5be396596 100644 --- a/src/ui/scss/component/_button.scss +++ b/src/ui/scss/component/_button.scss @@ -53,11 +53,6 @@ } } -.button--link { - white-space: normal; - text-align: left; -} - // This is a hack and the extra styles are just so this is more specific than the @lbry/components styling // Will make a PR there, but just doing it now for the release - Sean [type='button'].button--inverse { diff --git a/src/ui/scss/component/_markdown-preview.scss b/src/ui/scss/component/_markdown-preview.scss index a66d4ab1d..f61671487 100644 --- a/src/ui/scss/component/_markdown-preview.scss +++ b/src/ui/scss/component/_markdown-preview.scss @@ -16,8 +16,7 @@ p { font-size: 1.15rem; margin-bottom: var(--spacing-vertical-medium); - white-space: pre-line; - word-break: break-all; + // word-break: break-all; svg { width: 1rem; @@ -112,4 +111,9 @@ display: inline-block; } } + + button { + white-space: normal; + text-align: left; + } }