Skip to content

Commit

Permalink
theme(fix): youtube videos are cut off at the bottom
Browse files Browse the repository at this point in the history
due to aspect ratio incompatibility

fixes #992
  • Loading branch information
davidsneighbour committed May 24, 2024
1 parent 0850951 commit 5ef95c7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/scss/01-settings/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ $enable-important-utilities: false;

/// theme settings
$heading-height: 70px;
$aspect-ratio: 2 / 1;

/// mark tag
$mark-color: var(--bs-gray-dark);
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ require (
github.com/davidsneighbour/hugo-modules/modules/shortcodes v1.2023.13 // indirect
github.com/davidsneighbour/hugo-modules/modules/sitemap v1.2024.7 // indirect
github.com/davidsneighbour/hugo-modules/modules/social v0.2024.3 // indirect
github.com/davidsneighbour/hugo-modules/modules/youtube v1.2024.2 // indirect
github.com/davidsneighbour/hugo-modules/modules/youtube v1.2024.3 // indirect
github.com/paulirish/lite-youtube-embed v0.3.2 // indirect
github.com/twbs/icons v1.11.3 // indirect
github.com/zenorocha/clipboard.js v2.0.11+incompatible // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ github.com/davidsneighbour/hugo-modules/modules/social v0.2024.3 h1:LBSHf4amaq3Z
github.com/davidsneighbour/hugo-modules/modules/social v0.2024.3/go.mod h1:jXMHxgNQjqyjA7IZ+S9u8pKDJb4kiW6Dt38ylnH80kM=
github.com/davidsneighbour/hugo-modules/modules/youtube v1.2024.2 h1:B6oPtpGQrlYqvIBQi9Wy9ko47V1pErK83uKRo4Gadr0=
github.com/davidsneighbour/hugo-modules/modules/youtube v1.2024.2/go.mod h1:YH0dMkkSN+pqoFrf17S2a+Xrp6J93LmVQbReCDNQEZE=
github.com/davidsneighbour/hugo-modules/modules/youtube v1.2024.3 h1:+j1jwt9c6sM3O3VRS+HInKYXDcEfTQgj2uKoetGvJc0=
github.com/davidsneighbour/hugo-modules/modules/youtube v1.2024.3/go.mod h1:YH0dMkkSN+pqoFrf17S2a+Xrp6J93LmVQbReCDNQEZE=
github.com/paulirish/lite-youtube-embed v0.3.2 h1:VRSrJIlgui0Ldrl+/RmNvphLjour/W6CB0QtrZVJrpE=
github.com/paulirish/lite-youtube-embed v0.3.2/go.mod h1:9nuUWCzbFF/vvl3ClpZ1KsYFi/hlKjVOkmG8E+nsGDY=
github.com/twbs/icons v1.11.3 h1:XhvrQ1XDom9ggBbQx3wQCFGEr8qAQwQP/dAcw8OXMtA=
Expand Down

0 comments on commit 5ef95c7

Please sign in to comment.