🎥 Make videos programmatically with React
Elements: Optimize snapcn banner and keep library cards in row order
Igor Samokhovetse98805f9a3fa
diff --git a/packages/docs/src/components/Elements/ThirdPartyElementLibraries.module.css b/packages/docs/src/components/Elements/ThirdPartyElementLibraries.module.cssindex fbcb620da4..93e5de78d4 100644--- a/packages/docs/src/components/Elements/ThirdPartyElementLibraries.module.css+++ b/packages/docs/src/components/Elements/ThirdPartyElementLibraries.module.css@@ -3,10 +3,12 @@}.list {+ display: grid;+ grid-template-columns: minmax(0, 1fr);+ gap: 16px;+ align-items: start;margin: 0 0 var(--ifm-leading);padding: 0;- column-count: 1;- column-gap: 16px;list-style: none;}@@ -14,8 +16,6 @@position: relative;width: 100%;min-width: 0;- margin: 0 0 16px;- break-inside: avoid;overflow: hidden;border: 1px solid var(--border-color);border-radius: 14px;@@ -120,7 +120,7 @@@container third-party-libraries (min-width: 640px) {.list {- column-count: 2;+ grid-template-columns: repeat(2, minmax(0, 1fr));}}diff --git a/packages/docs/src/components/Elements/third-party-element-library-data.ts b/packages/docs/src/components/Elements/third-party-element-library-data.tsindex 52b71cd28d..99a714b571 100644--- a/packages/docs/src/components/Elements/third-party-element-library-data.ts+++ b/packages/docs/src/components/Elements/third-party-element-library-data.ts@@ -21,9 +21,10 @@ export const thirdPartyElementLibraries = [displayName: 'Lexington Themes',},{- bannerUrl: null,+ bannerUrl:+ 'https://remotion.media/elements/third-party-libraries/snapcn.webp',browseUrl: 'https://snapcn.dev/docs/components',- catalogUrl: 'https://snapcn.dev/docs/components',+ libraryUrl: 'https://snapcn.dev/docs/components',displayName: 'snapcn',},] as const satisfies readonly ThirdPartyElementLibrary[];