Skip to content

🎥 Make videos programmatically with React

fix layout of template strip on the homepage

Jonny Burgerfcae8096f894
diff --git a/packages/docs/src/components/ArrowRight.tsx b/packages/docs/src/components/ArrowRight.tsx
index 32c1609605..e7afb5b97d 100644
--- a/packages/docs/src/components/ArrowRight.tsx
+++ b/packages/docs/src/components/ArrowRight.tsx
@@ -33,7 +33,7 @@ export const MoreTemplatesButton: React.FC = () => {
return (
<Link to={"/templates"} style={rightStyle}>
- {mobileLayout ? "Find a template" : "More templates"}
+ {mobileLayout ? "Templates" : "Find a template"}
<svg
style={icon}
xmlns="http://www.w3.org/2000/svg"
diff --git a/packages/docs/src/components/ChooseTemplate.tsx b/packages/docs/src/components/ChooseTemplate.tsx
index 8aec48164a..c9b7f5f83f 100644
--- a/packages/docs/src/components/ChooseTemplate.tsx
+++ b/packages/docs/src/components/ChooseTemplate.tsx
@@ -30,9 +30,7 @@ export const ChooseTemplate: React.FC = () => {
boxShadow: "0 0 4px 0px var(--ifm-color-emphasis-200)",
borderRadius: 50,
alignItems: "center",
- padding: 12,
- paddingLeft: 24,
- paddingRight: 24,
+ padding: 8,
}}
>
{CreateVideoInternals.FEATURED_TEMPLATES.slice(0, 4).map(
diff --git a/packages/docs/src/components/IconForTemplate.tsx b/packages/docs/src/components/IconForTemplate.tsx
index 482652fb2d..aa1dee40dd 100644
--- a/packages/docs/src/components/IconForTemplate.tsx
+++ b/packages/docs/src/components/IconForTemplate.tsx
@@ -32,6 +32,7 @@ export const IconForTemplate: React.FC<{
<Blank
style={{
height: scale * 36,
+ overflow: "visible",
}}
/>
);