From 7f868c5a2601005b594f8752c9bae8c84e7cfb0a Mon Sep 17 00:00:00 2001 From: Sorrel Bri Date: Wed, 26 Feb 2020 15:23:39 -0800 Subject: [PATCH] add fonts, standardize textarea size --- public/index.html | 1 + src/PhonoChangeApplier.scss | 5 +++++ src/components/ProtoLang.js | 5 +++-- src/index.scss | 12 ++++++------ 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/public/index.html b/public/index.html index 4e7f926..faaa380 100644 --- a/public/index.html +++ b/public/index.html @@ -6,6 +6,7 @@ + Phono Change Applier diff --git a/src/PhonoChangeApplier.scss b/src/PhonoChangeApplier.scss index 9911062..435a091 100644 --- a/src/PhonoChangeApplier.scss +++ b/src/PhonoChangeApplier.scss @@ -8,6 +8,11 @@ div.App { padding: 1em 0; } + h3 { + font-size: 1.25em; + padding: 0.5em 0; + } + div.PhonoChangeApplier { display: grid; width: 100%; diff --git a/src/components/ProtoLang.js b/src/components/ProtoLang.js index 36d8bec..c0b7330 100644 --- a/src/components/ProtoLang.js +++ b/src/components/ProtoLang.js @@ -3,12 +3,11 @@ import './ProtoLang.scss'; const ProtoLang = ({ lexicon, dispatch }) => { const getProperty = property => object => object[property]; - const renderLexicon = () => { if (!lexicon) return ''; // Code for optionally rendering epoch name with lexeme // `\t#${lexeme.epoch.name}` - lexicon.map(getProperty('lexeme')).join('\n'); + return lexicon.map(getProperty('lexeme')).join('\n'); } return ( @@ -18,6 +17,8 @@ const ProtoLang = ({ lexicon, dispatch }) => {