From ef3e9c200e05568c7296ed777c787dc9af15f572 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 1 Apr 2020 16:00:09 -0400 Subject: [PATCH] mobile style cleanup --- ui/scss/component/_claim-list.scss | 4 ++++ ui/scss/component/_markdown-preview.scss | 4 ++++ ui/scss/component/_placeholder.scss | 6 ------ ui/scss/init/_gui.scss | 4 ---- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/ui/scss/component/_claim-list.scss b/ui/scss/component/_claim-list.scss index 795ca947e..9b5ea21b8 100644 --- a/ui/scss/component/_claim-list.scss +++ b/ui/scss/component/_claim-list.scss @@ -125,6 +125,10 @@ .media__thumb { width: 14rem; + + @media (max-width: $breakpoint-small) { + width: 5rem; + } } .channel-thumbnail { diff --git a/ui/scss/component/_markdown-preview.scss b/ui/scss/component/_markdown-preview.scss index 63df8dc04..818665cdf 100644 --- a/ui/scss/component/_markdown-preview.scss +++ b/ui/scss/component/_markdown-preview.scss @@ -7,6 +7,10 @@ margin-bottom: 0; } + @media (max-width: $breakpoint-small) { + font-size: var(--font-base); + } + // Headers h1, h2, diff --git a/ui/scss/component/_placeholder.scss b/ui/scss/component/_placeholder.scss index 0badb7083..6369b7cb7 100644 --- a/ui/scss/component/_placeholder.scss +++ b/ui/scss/component/_placeholder.scss @@ -31,12 +31,6 @@ width: 40%; height: 2rem; } - - @media (max-width: $breakpoint-small) { - &.media__thumb { - display: none; - } - } } .placeholder--text-document { diff --git a/ui/scss/init/_gui.scss b/ui/scss/init/_gui.scss index f0936d01f..0b3a91316 100644 --- a/ui/scss/init/_gui.scss +++ b/ui/scss/init/_gui.scss @@ -23,10 +23,6 @@ html { body { font-size: 1em; - - @media (max-width: $breakpoint-small) { - font-size: 1.3em; - } } h1,