From a16b88664570207656ea8852dbca778647bcefe3 Mon Sep 17 00:00:00 2001 From: djmil Date: Thu, 19 Oct 2023 16:09:19 +0200 Subject: [PATCH] front: CordaCheckers online tgl --- webapp/src/App.js | 2 -- webapp/src/components/Header/index.css | 8 ++++++-- webapp/src/components/Header/index.jsx | 4 +++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/webapp/src/App.js b/webapp/src/App.js index 26c3b47..8b4cb95 100644 --- a/webapp/src/App.js +++ b/webapp/src/App.js @@ -9,14 +9,12 @@ import { import Header from "./components/Header" import Leaderboard from "./components/Leaderboard" import GameProposal from "./components/GameProposal" -import DataPolling from './components/OfflineToggle'; function App() { return
-
} /> diff --git a/webapp/src/components/Header/index.css b/webapp/src/components/Header/index.css index a165fe7..e668903 100644 --- a/webapp/src/components/Header/index.css +++ b/webapp/src/components/Header/index.css @@ -1,3 +1,7 @@ -p { - margin-bottom: 30px; +h1 { + display: inline-flex; +} + +.OfflineToggle { + margin-left: 15px; } \ No newline at end of file diff --git a/webapp/src/components/Header/index.jsx b/webapp/src/components/Header/index.jsx index 2528bbb..0d3677a 100644 --- a/webapp/src/components/Header/index.jsx +++ b/webapp/src/components/Header/index.jsx @@ -1,11 +1,13 @@ import './index.css'; import React from "react" import { Link } from "react-router-dom"; +import OfflineToggle from '../OfflineToggle'; export default function Header() { return
-

CordaCheckers

+

CordaCheckers

+