diff --git a/public/assets/css/general.css b/public/assets/css/general.css index 3f6d439c..7b4f2af4 100644 --- a/public/assets/css/general.css +++ b/public/assets/css/general.css @@ -540,26 +540,14 @@ table { margin : 0px } +/* show */ + .asset { - width: 100%; + max-width: 100%; } -#show-body #asset-boilerpate { - display: none; -} - -#showlite-body #asset-display-component { - max-width: 50%; - text-align: center; -} - -/* video */ - -#video-asset { - background-color: #000000; +#video { cursor: pointer; -} -#showlite-body #video-asset { background-color: #ffffff; width: calc(100% - 12px - 12px - 2px); margin: 6px; @@ -567,6 +555,25 @@ table { border: 1px solid #d0d0d0; } +/* show lite */ +#show-lite-container { + text-align: center; +} + +#show-lite-container #asset-display-component { + max-height: calc(100vh - 3em); +} + +#show-lite-container #asset-display-component .asset { + max-height: calc(100vh - 3em); + max-width: 100vw; +} + +#asset-boilerplate { + max-height: 3em; +} + + /* item lists */ .content-list-item-asset { diff --git a/react/components/AssetDisplay/view.jsx b/react/components/AssetDisplay/view.jsx index 733f1bd1..bfc85ca5 100644 --- a/react/components/AssetDisplay/view.jsx +++ b/react/components/AssetDisplay/view.jsx @@ -10,7 +10,7 @@ class AssetDisplay extends React.Component { render () { const { status, error, asset: { claimData: { name, claimId, contentType, fileExt, thumbnail } } } = this.props; return ( -
Checking to see if Spee.ch has your asset locally...
@@ -19,14 +19,14 @@ class AssetDisplay extends React.Component { {(status === UNAVAILABLE) &&Sit tight, we're searching the LBRY blockchain for your asset!
-Curious what magic is happening here? Learn more.
+Curious what magic is happening here? Learn more.
Unfortunately, we couldn't download your asset from LBRY. You can help us out by sharing the below error message in the LBRY discord.
-{error}
+Unfortunately, we couldn't download your asset from LBRY. You can help us out by sharing the below error message in the LBRY discord.
+{error}