From 7d0ab847a7448a0b42534d0ea8803dc109531071 Mon Sep 17 00:00:00 2001
From: caorushizi <84996057@qq.com>
Date: Thu, 4 Feb 2021 18:34:10 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/main_window/App.jsx | 2 +-
src/main_window/App.scss | 15 ---------------
src/main_window/components/Download.jsx | 9 ++++++++-
3 files changed, 9 insertions(+), 17 deletions(-)
diff --git a/src/main_window/App.jsx b/src/main_window/App.jsx
index 588db93..6e473a7 100644
--- a/src/main_window/App.jsx
+++ b/src/main_window/App.jsx
@@ -51,7 +51,7 @@ class App extends React.Component {
const navLinkGroups = [
{
- name: "Media Download",
+ name: "",
links: [
{
name: "下载",
diff --git a/src/main_window/App.scss b/src/main_window/App.scss
index 31083d9..e4ef41e 100644
--- a/src/main_window/App.scss
+++ b/src/main_window/App.scss
@@ -5,22 +5,7 @@
display: flex;
flex-direction: row;
- //.nav {
- // display: flex;
- // flex-direction: column;
- //
- // a {
- // padding: 5px 10px;
- //
- // &.selected {
- // background: #000;
- // color: #fff;
- // }
- // }
- //}
-
.main-wrapper {
- padding: 5px;
flex: 1;
}
}
diff --git a/src/main_window/components/Download.jsx b/src/main_window/components/Download.jsx
index 7ad8894..823f56d 100644
--- a/src/main_window/components/Download.jsx
+++ b/src/main_window/components/Download.jsx
@@ -2,7 +2,12 @@ import React from "react";
import "./Download.scss";
import PropTypes from "prop-types";
import { remote, ipcRenderer } from "electron";
-import { PrimaryButton, TextField } from "@fluentui/react";
+import {
+ PrimaryButton,
+ TextField,
+ FocusZone,
+ Separator,
+} from "@fluentui/react";
import { ipcExec } from "../utils";
class Download extends React.Component {
@@ -156,6 +161,8 @@ class Download extends React.Component {
+