From 3784d4db8703db2a1c61c3ad37b9711d5fc5c553 Mon Sep 17 00:00:00 2001 From: Renard Date: Sat, 14 Sep 2019 14:38:11 -0300 Subject: Fixed menu --- src/App.css | 4 ++++ src/App.js | 50 +++++++++++++++++++++++++++----------------------- 2 files changed, 31 insertions(+), 23 deletions(-) diff --git a/src/App.css b/src/App.css index cd12c8b..ab194ce 100644 --- a/src/App.css +++ b/src/App.css @@ -1,3 +1,7 @@ +.main.container { + margin-top: 4em; +} + .postMessage { word-break: break-word; overflow-wrap: anywhere; diff --git a/src/App.js b/src/App.js index 0579156..551fed9 100644 --- a/src/App.js +++ b/src/App.js @@ -45,30 +45,34 @@ class App extends Component { const { boardList } = this.state; //const pathList = boardList.map(board => "/" + board.dir) return ( - - - B.a.I - Home - - - {boardList.map(board => board.board_type === 1 ? /{board.dir}/ - {board.name} : null)} - - - - - {boardList.map(board => board.board_type === 0 ? /{board.dir}/ - {board.name} : null)} - - + + + + B.a.I + Home + + + {boardList.map(board => board.board_type === 1 ? /{board.dir}/ - {board.name} : null)} + + + + + {boardList.map(board => board.board_type === 0 ? /{board.dir}/ - {board.name} : null)} + + + - - - - - - - - - + + + + + + + + + + + ); } } -- cgit v1.2.1-18-gbd029