From ac7ee2d02d6f38bdef28cd5858b0cc33015db3b9 Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Sat, 14 May 2022 02:27:00 -0700 Subject: [PATCH] tweaks --- src/ui/components/menu/Downloads.tsx | 6 +++--- src/ui/components/news/NewsSection.css | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/ui/components/menu/Downloads.tsx b/src/ui/components/menu/Downloads.tsx index f974dd5..e306fc4 100644 --- a/src/ui/components/menu/Downloads.tsx +++ b/src/ui/components/menu/Downloads.tsx @@ -53,14 +53,14 @@ export default class Downloads extends React.Component { async downloadGrasscutterStable() { const folder = await this.getGrasscutterFolder() - this.props.downloadManager.addDownload(STABLE_DOWNLOAD, folder + '\\grasscutter.jar') - + this.props.downloadManager.addDownload(STABLE_DOWNLOAD, folder + '\\grasscutter.zip') + this.disableButtons() } async downloadGrasscutterLatest() { const folder = await this.getGrasscutterFolder() - this.props.downloadManager.addDownload(DEV_DOWNLOAD, folder + '\\grasscutter.jar') + this.props.downloadManager.addDownload(DEV_DOWNLOAD, folder + '\\grasscutter.zip') this.disableButtons() } diff --git a/src/ui/components/news/NewsSection.css b/src/ui/components/news/NewsSection.css index bf91f54..1a8d978 100644 --- a/src/ui/components/news/NewsSection.css +++ b/src/ui/components/news/NewsSection.css @@ -42,7 +42,7 @@ } .NewsTab.selected { - border-bottom: 1px solid #ffc61e; + border-bottom: 2px solid #ffc61e; } .NewsContent { @@ -52,6 +52,10 @@ color: #fff; } +.NewsContent::-webkit-scrollbar { + display: none; +} + .Commit { display: flex; flex-direction: row;