From b4655dbe3359811c40e623092454e8d24b1044b2 Mon Sep 17 00:00:00 2001 From: bouncepaw Date: Thu, 14 Jan 2021 16:59:30 +0500 Subject: [PATCH] Make textarea have proportional font --- templates/asset.qtpl.go | 2 +- templates/default.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/asset.qtpl.go b/templates/asset.qtpl.go index 95106bc..a7914c7 100644 --- a/templates/asset.qtpl.go +++ b/templates/asset.qtpl.go @@ -35,7 +35,7 @@ background-image: url("data:image/svg+xml,%3Csvg width='42' height='44' viewBox= body {height:100%; margin:0; font-size:16px; font-family: 'PT Sans', 'Liberation Sans', sans-serif;} main {padding:1rem; background-color: white; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2); border-radius: 0 0 .25rem .25rem; } main > form {margin-bottom:1rem;} -textarea {font-size:15px;} +textarea {font-size:16px; font-family: 'PT Sans', 'Liberation Sans', sans-serif;} .edit {height:100%;} .edit-form {height:90%;} .edit-form textarea {width:100%;height:90%;} diff --git a/templates/default.css b/templates/default.css index b19484c..c5676f5 100644 --- a/templates/default.css +++ b/templates/default.css @@ -10,7 +10,7 @@ background-image: url("data:image/svg+xml,%3Csvg width='42' height='44' viewBox= body {height:100%; margin:0; font-size:16px; font-family: 'PT Sans', 'Liberation Sans', sans-serif;} main {padding:1rem; background-color: white; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2); border-radius: 0 0 .25rem .25rem; } main > form {margin-bottom:1rem;} -textarea {font-size:15px;} +textarea {font-size:16px; font-family: 'PT Sans', 'Liberation Sans', sans-serif;} .edit {height:100%;} .edit-form {height:90%;} .edit-form textarea {width:100%;height:90%;}