From eff8d032c1db3e3d702818d257725a3fd7aa1f3d Mon Sep 17 00:00:00 2001 From: Daniel_Stoxreiter Date: Thu, 14 Dec 2023 12:18:48 +0100 Subject: [PATCH] removed capitalize from typesense #47 --- html/css/micro-editor.css | 17 ++++++++++++++--- html/js/ts_search.js | 8 ++++---- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/html/css/micro-editor.css b/html/css/micro-editor.css index 9b57be61f..e50817ff3 100644 --- a/html/css/micro-editor.css +++ b/html/css/micro-editor.css @@ -313,17 +313,28 @@ input:checked + .i-slider:before { /* font styles and sizes */ -.times-new-roman, .handwritten { +.times-new-roman { font-family: "Times New Roman", serif !important; } -.courier-new, .typed { +.courier-new { font-family: "Courier New", monospace !important; } -.arial-serif, .printed { +.arial-serif { font-family: "Arial", serif !important; } +.handwritten { + font-family: "Times New Roman", serif; +} +.typed { + font-family: "Courier New", monospace; +} + +.printed { + font-family: "Arial", serif; +} + .handwritten { font-size: 22px; } diff --git a/html/js/ts_search.js b/html/js/ts_search.js index bbb49d5cf..a6f54f509 100644 --- a/html/js/ts_search.js +++ b/html/js/ts_search.js @@ -112,7 +112,7 @@ search.addWidgets([ showMore: "btn btn-secondary btn-sm align-content-center", list: "list-unstyled", count: "badge ml-2 badge-info", - label: "d-flex align-items-center text-capitalize", + label: "d-flex align-items-center", checkbox: "mr-2", }, }), @@ -129,7 +129,7 @@ search.addWidgets([ showMore: "btn btn-secondary btn-sm align-content-center", list: "list-unstyled", count: "badge ml-2 badge-secondary", - label: "d-flex align-items-center text-capitalize", + label: "d-flex align-items-center", checkbox: "mr-2", }, }), @@ -146,7 +146,7 @@ search.addWidgets([ showMore: "btn btn-secondary btn-sm align-content-center", list: "list-unstyled", count: "badge ml-2 badge-success", - label: "d-flex align-items-center text-capitalize", + label: "d-flex align-items-center", checkbox: "mr-2", }, }), @@ -163,7 +163,7 @@ search.addWidgets([ showMore: "btn btn-secondary btn-sm align-content-center", list: "list-unstyled", count: "badge ml-2 badge-success", - label: "d-flex align-items-center text-capitalize", + label: "d-flex align-items-center", checkbox: "mr-2", }, }),