From f1ebaf68947079b08ecad24df1862a71a8e6428a Mon Sep 17 00:00:00 2001 From: glodon Date: Fri, 5 Jul 2024 17:04:28 +0800 Subject: [PATCH] fixes #131 #149 #182 scroll --- .vscode/settings.json | 5 +++++ src/scroller.js | 5 ++--- src/slide.js | 5 +---- 3 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6ac32ca --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "prettier.semi": true, + "prettier.singleQuote": false, + "prettier.printWidth": 80 +} diff --git a/src/scroller.js b/src/scroller.js index f02c1fa..1b13901 100644 --- a/src/scroller.js +++ b/src/scroller.js @@ -147,8 +147,7 @@ export default function Scroller({
+
{!line.tokens.length &&
} {line.tokens.map((token, i) => { const style = themeStylesByType[token.type] || {};