From 2904519ff5bef7be1c88b2e37e15112d7d1d7aa4 Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Thu, 15 Feb 2018 17:24:55 -0500 Subject: [PATCH] Tweaking for styles --- src/components/Form/style.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Form/style.css b/src/components/Form/style.css index 50a3675..61dab59 100644 --- a/src/components/Form/style.css +++ b/src/components/Form/style.css @@ -4,6 +4,7 @@ --control-gradient: var(--color-green) var(--gradient-green); --select-height: 2.8rem; --select-width: 12rem; + --entry-line-height: 1.5em; } .form { @@ -13,13 +14,14 @@ & textarea { display: block; font-size: inherit; - line-height: 1.5em; + line-height: var(--entry-line-height); border: 0 none; outline: none; background: var(--color-tan); padding: 0 1rem; margin-bottom: var(--spacing-margin); width: 100% !important; /* "!important" to prevent user changing width */ + height: calc(3 * var(--entry-line-height)); box-sizing: border-box; font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace; }