From 1afcc4b8c7adbcdc4a2666dfe095c6264ff80ec1 Mon Sep 17 00:00:00 2001 From: Yangshun Date: Tue, 31 Oct 2023 14:56:37 +0800 Subject: [PATCH] website: update width of star button --- apps/website/src/pages/index.js | 2 +- apps/website/src/theme/DocItem/Content/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/website/src/pages/index.js b/apps/website/src/pages/index.js index d764c2d0..7b972851 100755 --- a/apps/website/src/pages/index.js +++ b/apps/website/src/pages/index.js @@ -162,7 +162,7 @@ function HeroSection() { src="https://ghbtns.com/github-btn.html?user=yangshun&repo=tech-interview-handbook&type=star&count=true&size=large" frameBorder={0} scrolling={0} - width={160} + width={170} height={30} title="GitHub Stars" /> diff --git a/apps/website/src/theme/DocItem/Content/index.js b/apps/website/src/theme/DocItem/Content/index.js index fa263f89..63b3dcbc 100644 --- a/apps/website/src/theme/DocItem/Content/index.js +++ b/apps/website/src/theme/DocItem/Content/index.js @@ -37,7 +37,7 @@ export default function DocItemContent({ children }) {