mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Added first pass of video card rendering
refs https://github.com/TryGhost/Team/issues/1229 - bumped @tryghost/kg-default-cards that contains initial video card rendering - added video card CSS file with basic style that prevents video element rendering larger than the content width (similar to default image styles in most themes)
This commit is contained in:
parent
2d43c12276
commit
d4c110a55b
3 changed files with 9 additions and 5 deletions
4
core/frontend/src/cards/css/video.css
Normal file
4
core/frontend/src/cards/css/video.css
Normal file
|
@ -0,0 +1,4 @@
|
|||
.kg-video-card video {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
|
@ -73,7 +73,7 @@
|
|||
"@tryghost/job-manager": "0.8.16",
|
||||
"@tryghost/kg-card-factory": "3.1.0",
|
||||
"@tryghost/kg-default-atoms": "3.1.0",
|
||||
"@tryghost/kg-default-cards": "5.11.5",
|
||||
"@tryghost/kg-default-cards": "5.12.0",
|
||||
"@tryghost/kg-markdown-html-renderer": "5.1.0",
|
||||
"@tryghost/kg-mobiledoc-html-renderer": "5.3.1",
|
||||
"@tryghost/limit-service": "1.0.6",
|
||||
|
|
|
@ -1442,10 +1442,10 @@
|
|||
resolved "https://registry.yarnpkg.com/@tryghost/kg-default-atoms/-/kg-default-atoms-3.1.0.tgz#4daff7104c1f261b1b816dd75ae4104009f9c1e6"
|
||||
integrity sha512-FfROzVgqJWqJ7cVdS9dcALz7rnzNfV8zcrymAJrDTHDsqzAdMfSLe1tNQRm8zas9pyZLsD8zBGmLxG9dr4WFSA==
|
||||
|
||||
"@tryghost/kg-default-cards@5.11.5":
|
||||
version "5.11.5"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-default-cards/-/kg-default-cards-5.11.5.tgz#1d5573c76f9e83d0f23842a14c49ae07f94a5a02"
|
||||
integrity sha512-WpXm1rh/Tt24U4mhJqSCcrVy6dM2KFgAT7Thcl07sYD68lAIHMgPnQ7WDv0xhuDP3EbOo8ygQj7Auz+UmIu76g==
|
||||
"@tryghost/kg-default-cards@5.12.0":
|
||||
version "5.12.0"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-default-cards/-/kg-default-cards-5.12.0.tgz#aa329887e4f48b7d824cb6070cbc4ce41c217759"
|
||||
integrity sha512-yv0wVqd+CDdt81JZtfnjggzV0O/gKlYLH6r0DFPKMO/x/3WzrXypzCMu8suKS88RC/9TFU9GStUmnWjQU9P/kQ==
|
||||
dependencies:
|
||||
"@tryghost/kg-markdown-html-renderer" "^5.1.0"
|
||||
"@tryghost/url-utils" "^2.0.0"
|
||||
|
|
Loading…
Reference in a new issue