From 13817a431872f057dce40a4f29a2f98cbc5a831d Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sat, 21 Aug 2021 16:44:49 +0200 Subject: [PATCH] Jsx to Tsx conversion --- components/md-renderer/mdx-components/heading.tsx | 1 + components/md-renderer/mdx-components/{iframe.js => iframe.tsx} | 0 components/md-renderer/mdx-components/{img.js => img.tsx} | 0 components/md-renderer/mdx-components/{index.js => index.tsx} | 0 4 files changed, 1 insertion(+) rename components/md-renderer/mdx-components/{iframe.js => iframe.tsx} (100%) rename components/md-renderer/mdx-components/{img.js => img.tsx} (100%) rename components/md-renderer/mdx-components/{index.js => index.tsx} (100%) diff --git a/components/md-renderer/mdx-components/heading.tsx b/components/md-renderer/mdx-components/heading.tsx index d3d98b888..42aa7d557 100644 --- a/components/md-renderer/mdx-components/heading.tsx +++ b/components/md-renderer/mdx-components/heading.tsx @@ -36,6 +36,7 @@ const HeaderLink = styled.a` const H1 = styled.h1` position: relative; font-size: 42px; + line-height: 40px; font-weight: 700; margin: 32px 0 10px !important; diff --git a/components/md-renderer/mdx-components/iframe.js b/components/md-renderer/mdx-components/iframe.tsx similarity index 100% rename from components/md-renderer/mdx-components/iframe.js rename to components/md-renderer/mdx-components/iframe.tsx diff --git a/components/md-renderer/mdx-components/img.js b/components/md-renderer/mdx-components/img.tsx similarity index 100% rename from components/md-renderer/mdx-components/img.js rename to components/md-renderer/mdx-components/img.tsx diff --git a/components/md-renderer/mdx-components/index.js b/components/md-renderer/mdx-components/index.tsx similarity index 100% rename from components/md-renderer/mdx-components/index.js rename to components/md-renderer/mdx-components/index.tsx