diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index a286bec1d..b3eafb976 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -751,6 +751,11 @@ video { margin-bottom: 2em; } +.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) { + margin-top: 2em; + margin-bottom: 2em; +} + .prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) { font-weight: 600; font-family: inherit; @@ -950,11 +955,6 @@ video { margin-bottom: 0; } -.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) { - margin-top: 2em; - margin-bottom: 2em; -} - .prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) { margin-top: 0.5em; margin-bottom: 0.5em; diff --git a/package-lock.json b/package-lock.json index 8b0fd29e9..a6897cdb9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,16 @@ { "name": "hugo-congo-theme", - "version": "2.8.0", + "version": "2.8.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "hugo-congo-theme", - "version": "2.8.0", + "version": "2.8.1", "hasInstallScript": true, "license": "MIT", "devDependencies": { - "@tailwindcss/typography": "^0.5.10", + "@tailwindcss/typography": "^0.5.11", "chart.js": "^4.4.2", "fuse.js": "^7.0.0", "katex": "^0.16.9", @@ -168,9 +168,9 @@ } }, "node_modules/@tailwindcss/typography": { - "version": "0.5.10", - "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.10.tgz", - "integrity": "sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==", + "version": "0.5.11", + "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.11.tgz", + "integrity": "sha512-ahOULqBQGCdSqL3vMNjH1R5cU2gxTh059fJIKF2enHXE8c/s3yKGDSKZ1+4poCr7BZRREJS8n5cCFmwsW4Ok3A==", "dev": true, "dependencies": { "lodash.castarray": "^4.4.0", @@ -3291,9 +3291,9 @@ "optional": true }, "@tailwindcss/typography": { - "version": "0.5.10", - "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.10.tgz", - "integrity": "sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==", + "version": "0.5.11", + "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.11.tgz", + "integrity": "sha512-ahOULqBQGCdSqL3vMNjH1R5cU2gxTh059fJIKF2enHXE8c/s3yKGDSKZ1+4poCr7BZRREJS8n5cCFmwsW4Ok3A==", "dev": true, "requires": { "lodash.castarray": "^4.4.0", diff --git a/package.json b/package.json index e894b6e39..df8b94142 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/jpanther/congo#readme", "devDependencies": { - "@tailwindcss/typography": "^0.5.10", + "@tailwindcss/typography": "^0.5.11", "chart.js": "^4.4.2", "fuse.js": "^7.0.0", "katex": "^0.16.9",