From 49f11c4f35313ddeb9690e52624ced119c014260 Mon Sep 17 00:00:00 2001 From: qwerzl <46770502+qwerzl@users.noreply.github.com> Date: Fri, 15 Sep 2023 15:20:03 +0800 Subject: [PATCH 1/2] fix: disable vertical borders of the update notification --- packages/docusaurus/bin/beforeCli.mjs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/docusaurus/bin/beforeCli.mjs b/packages/docusaurus/bin/beforeCli.mjs index e9a91576a5e3..afa1c7c9d5ef 100644 --- a/packages/docusaurus/bin/beforeCli.mjs +++ b/packages/docusaurus/bin/beforeCli.mjs @@ -141,7 +141,16 @@ export default async function beforeCli() { margin: 1, align: 'center', borderColor: 'yellow', - borderStyle: 'round', + borderStyle: { + topLeft: ' ', + topRight: ' ', + bottomLeft: ' ', + bottomRight: ' ', + top: '-', + bottom: '-', + left: ' ', + right: ' ' + }, }; const docusaurusUpdateMessage = boxen( From 20e86ca56e67eebf8ca1826ab3f22ce339db7851 Mon Sep 17 00:00:00 2001 From: qwerzl Date: Fri, 15 Sep 2023 15:48:13 +0800 Subject: [PATCH 2/2] fix: disable vertical borders of the update notification --- packages/docusaurus/bin/beforeCli.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docusaurus/bin/beforeCli.mjs b/packages/docusaurus/bin/beforeCli.mjs index afa1c7c9d5ef..ebf2d975ad14 100644 --- a/packages/docusaurus/bin/beforeCli.mjs +++ b/packages/docusaurus/bin/beforeCli.mjs @@ -149,7 +149,7 @@ export default async function beforeCli() { top: '-', bottom: '-', left: ' ', - right: ' ' + right: ' ', }, };