diff --git a/public/assets/css/general.css b/public/assets/css/general.css index ea6d4b83..c8f0f2f5 100644 --- a/public/assets/css/general.css +++ b/public/assets/css/general.css @@ -501,27 +501,32 @@ table { width: calc(100% - 1rem); } -/* Show page */ - -#video-player { - display: block; - margin: 0 auto; - background-color: #fff; - cursor: pointer; -} -#showlite-body #video-player { - margin-top: 2%; - padding: 6px; - max-width: 50%; - border: 1px solid #d0d0d0; -} +/* Assets */ .asset { max-width: 100%; } -#showlite-body > .asset { - max-width: 50%; +#show-body #asset-boilerpate { + display: none; +} + +#showlite-body #asset-display-component { + max-width: 50%; + text-align: center; +} + +/* video */ + +#video-asset { + background-color: #fff; + cursor: pointer; +} +#showlite-body #video-asset { + width: calc(100% - 12px - 12px - 2px); + margin: 6px; + padding: 6px; + border: 1px solid #d0d0d0; } /* item lists */ diff --git a/public/assets/css/mediaQueries.css b/public/assets/css/mediaQueries.css index 4f632183..251d419b 100644 --- a/public/assets/css/mediaQueries.css +++ b/public/assets/css/mediaQueries.css @@ -36,7 +36,7 @@ padding-right: 1.5em; } - #showlite-body > asset { + #showlite-body #asset-display-component { max-width: 100%; } diff --git a/views/partials/asset.handlebars b/views/partials/asset.handlebars index 534f19f9..74207825 100644 --- a/views/partials/asset.handlebars +++ b/views/partials/asset.handlebars @@ -9,6 +9,7 @@ {{> image}} {{/ifConditional}} + hosted via Spee<h