From 0327c545d23a97b49d88fdacbd3c01d6757149c7 Mon Sep 17 00:00:00 2001 From: greg Date: Sat, 26 Jan 2019 01:55:19 -0800 Subject: [PATCH] More css tweaks --- App.jsx | 17 +++++++++-------- App.scss | 20 +++++++++++++++++++- 2 files changed, 28 insertions(+), 9 deletions(-) diff --git a/App.jsx b/App.jsx index 302d68a..dee5e50 100644 --- a/App.jsx +++ b/App.jsx @@ -26,9 +26,10 @@ function Entry(props) {
{ entry.sai } - { entry.eng }
- { entry.syn_category } -
- Type: { entry.morph_type } + + { entry.syn_category } + { entry.morph_type ? `\t\t${entry.morph_type}` : null } +
); } @@ -105,12 +106,12 @@ class App extends Component { + - ); } diff --git a/App.scss b/App.scss index de1be06..5fd5a1c 100644 --- a/App.scss +++ b/App.scss @@ -1,9 +1,10 @@ body { background-color: #f0f0b8; + font-size: 14pt; } main { - text-align:center; + text-align: center; } div .container { @@ -11,6 +12,10 @@ div .container { margin: auto; } +div .results { + text-align: left; +} + div .textInput { max-width: 70%; margin: auto; @@ -26,3 +31,16 @@ input { margin: 10px; font-dize: 22px; } + +.searchResult { + border-bottom: 1px solid #b2a336; + padding: 5px; +} + +.synclass { + color: #a63333; + i { + margin-right: 10px; + + } +}