From aa9798ef08ebe86bab5f4d53d5ac8f601db8bfcd Mon Sep 17 00:00:00 2001 From: shanshuirenjia Date: Thu, 27 Sep 2018 15:09:44 +0800 Subject: [PATCH] Repair draft activities (#2403) * repair drafts and activities * repair bug * repair bug * repair bug --- frontend/src/app.js | 9 +++++---- frontend/src/css/layout.css | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/app.js b/frontend/src/app.js index 7b22f7e983..8306e26033 100644 --- a/frontend/src/app.js +++ b/frontend/src/app.js @@ -1,6 +1,7 @@ import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { Router } from '@reach/router' +import { siteRoot } from './components/constants'; import SidePanel from './components/side-panel'; import MainPanel from './components/main-panel'; import DraftsView from './pages/drafts/drafts-view'; @@ -40,15 +41,15 @@ class App extends Component { render() { let href = window.location.href.split('/'); let currentTab = href[href.length - 2]; - + return (
- + - - + +
diff --git a/frontend/src/css/layout.css b/frontend/src/css/layout.css index da1484f285..45536bfae8 100644 --- a/frontend/src/css/layout.css +++ b/frontend/src/css/layout.css @@ -111,4 +111,5 @@ [role=group] { display: flex; + flex: 1; } \ No newline at end of file