From 0fc724bc21d4d95bb7c1cb0fb460e44b0b1190eb Mon Sep 17 00:00:00 2001 From: Yasuaki Uechi Date: Thu, 1 Aug 2019 02:01:20 +0900 Subject: [PATCH] style: set bg color white when desktop browser --- web/src/App.js | 73 +++++++++++++++++++++++++++++------------------ web/src/index.css | 1 - 2 files changed, 45 insertions(+), 29 deletions(-) diff --git a/web/src/App.js b/web/src/App.js index e25d1da..fbc0f72 100644 --- a/web/src/App.js +++ b/web/src/App.js @@ -1,5 +1,5 @@ import React from 'react' -import styled from 'styled-components' +import styled, { createGlobalStyle } from 'styled-components' import { useDeferredState } from './hooks/state' import { mobile } from './util/css' @@ -26,37 +26,50 @@ export default function App() { } return ( - -
- - namæ - - -
+ <> + + +
+ + namæ + + +
- {query && query.length > 0 ? ( - - Result for {query} - - - - - - - - - - - - - - - ) : null} -