From 9fff1df6e6c7ac327544ac382b595fbff6d4bb47 Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Mon, 28 Mar 2022 17:53:01 +0100 Subject: [PATCH] Fix font difference between code block and textarea --- templates/base.html | 2 +- templates/index.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/base.html b/templates/base.html index 34967d7..03dd6be 100644 --- a/templates/base.html +++ b/templates/base.html @@ -14,10 +14,10 @@ padding: 2rem; background: #263238; color: #B0BEC5; - font-family: 'Courier New', Courier, monospace; line-height: 1.1; display: flex; } + body, code, textarea { font-family: Monaco, Menlo, Courier, Courier New, Andale Mono, monospace; } {% block styles %}{% endblock styles %} {% block head %}{% endblock head %} diff --git a/templates/index.html b/templates/index.html index 046f80e..7b81b6f 100644 --- a/templates/index.html +++ b/templates/index.html @@ -9,6 +9,7 @@ background: none; border: none; + outline: 0; resize: none; overflow: auto; @@ -61,4 +62,4 @@ } }); -{% endblock content %} \ No newline at end of file +{% endblock content %} -- libgit2 1.7.2