From 695618f53667a43b86add8bff44cd3cb8718f9b2 Mon Sep 17 00:00:00 2001 From: Janne Koivistoinen Date: Fri, 8 Dec 2017 16:42:29 +0200 Subject: [PATCH] fix textarea's bottom padding --- src/marketplaceIndex.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/marketplaceIndex.css b/src/marketplaceIndex.css index 3f0be487..02164bc8 100644 --- a/src/marketplaceIndex.css +++ b/src/marketplaceIndex.css @@ -100,8 +100,14 @@ input { textarea { @apply --marketplaceInputStyles; - min-height: 48px; - padding: 0 0 5px 0; + + /* Todo: All textareas are using auto-sizing extension which currently calculates required space incorrectly when box-sixing is "border-box" */ + box-sizing: content-box; + padding: 0 0 10px 0; + + &::placeholder { + padding: 0 0 10px 0; + } } :global(.fontsLoaded) {