Skip to content

Commit

Permalink
removed capitalize from typesense #47
Browse files Browse the repository at this point in the history
  • Loading branch information
linxOD committed Dec 14, 2023
1 parent bfd2802 commit eff8d03
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
17 changes: 14 additions & 3 deletions html/css/micro-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
8 changes: 4 additions & 4 deletions html/js/ts_search.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
}),
Expand All @@ -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",
},
}),
Expand All @@ -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",
},
}),
Expand All @@ -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",
},
}),
Expand Down

0 comments on commit eff8d03

Please sign in to comment.