From b60fcb09f1229b038ce78c0aea9304bc2a3f368c Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Tue, 13 Aug 2019 13:47:06 -0400 Subject: [PATCH] more consistent floating close buttons --- package.json | 2 +- src/ui/component/fileViewer/view.jsx | 4 ++-- src/ui/scss/component/_content.scss | 15 --------------- yarn.lock | 4 ++-- 4 files changed, 5 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index 897afa116..2e7c64549 100644 --- a/package.json +++ b/package.json @@ -125,7 +125,7 @@ "jsmediatags": "^3.8.1", "json-loader": "^0.5.4", "lbry-format": "https://github.com/lbryio/lbry-format.git", - "lbry-redux": "lbryio/lbry-redux#d2c0d999d6909a6ebb80a318052d0358e12048ee", + "lbry-redux": "lbryio/lbry-redux#05e70648e05c51c51710f6dd698a8e2219b54df2", "lbryinc": "lbryio/lbryinc#a93596c51c8fb0a226cb84df04c26a6bb60a45fb", "lint-staged": "^7.0.2", "localforage": "^1.7.1", diff --git a/src/ui/component/fileViewer/view.jsx b/src/ui/component/fileViewer/view.jsx index a0bb699c9..1f96390e8 100644 --- a/src/ui/component/fileViewer/view.jsx +++ b/src/ui/component/fileViewer/view.jsx @@ -119,10 +119,10 @@ export default function FileViewer(props: Props) { {!inline && (
-
)} diff --git a/src/ui/scss/component/_content.scss b/src/ui/scss/component/_content.scss index fd215137a..cc59f2bb6 100644 --- a/src/ui/scss/component/_content.scss +++ b/src/ui/scss/component/_content.scss @@ -41,21 +41,6 @@ .button { position: relative; margin-left: var(--spacing-small); - - .icon:not(:hover) { - [data-mode='dark'] & { - stroke: $lbry-black; - } - } - } -} - -.content__hide-viewer { - background-color: $lbry-white; - stroke: $lbry-black; - - &:hover { - background-color: $lbry-teal-5; } } diff --git a/yarn.lock b/yarn.lock index c7cd7a0c4..444ae1a62 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6762,9 +6762,9 @@ lazy-val@^1.0.3, lazy-val@^1.0.4: yargs "^13.2.2" zstd-codec "^0.1.1" -lbry-redux@lbryio/lbry-redux#d2c0d999d6909a6ebb80a318052d0358e12048ee: +lbry-redux@lbryio/lbry-redux#05e70648e05c51c51710f6dd698a8e2219b54df2: version "0.0.1" - resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/d2c0d999d6909a6ebb80a318052d0358e12048ee" + resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/05e70648e05c51c51710f6dd698a8e2219b54df2" dependencies: mime "^2.4.4" proxy-polyfill "0.1.6"