Skip to content

Commit

Permalink
fix: font and bottom page alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikb64 committed Feb 14, 2025
1 parent 156f2c1 commit 91d6c74
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion wiki/public/js/render_wiki.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ window.RenderWiki = class RenderWiki extends Wiki {
)[1]
).trigger("click");
}
$(".wiki-footer, .wiki-page-meta").toggleClass("hide");
}

set_toc() {
Expand Down
7 changes: 3 additions & 4 deletions wiki/public/scss/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,9 @@ body {

// ------------------------------------------

font-family: "Inter", ui-sans-serif, system-ui, -apple-system,
BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans,
sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol,
"Noto Color Emoji";
font-family: "InterVariable", "Inter", "-apple-system", "BlinkMacSystemFont",
"Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;

background-color: var(--background-color);
color: var(--text-color);
Expand Down
4 changes: 2 additions & 2 deletions wiki/wiki/doctype/wiki_page/templates/show.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h5 class="modal-title" id="addGroupModalTitle">Title</h5>

<div class="flex my-4 wiki-page-meta hide d-print-none">
{%- if show_feedback -%}
<div class="flex mt-4">
<div class="flex">
<span class="text-sm d-none d-sm-block">Was this article helpful?</span>
<span class="text-sm ml-2 feedback-btn" data-toggle="modal" data-target="#feedbackModal">Give Feedback</span>
</div>
Expand Down Expand Up @@ -66,7 +66,7 @@ <h5 class="modal-title" id="addGroupModalTitle">Title</h5>
</div>
</div>
</div>
<div class="wiki-footer hide d-print-none">
<div class="wiki-footer d-print-none">
<div class="forward-back">
<a href="#" class="btn left">
<p>Previous Page</p>
Expand Down

0 comments on commit 91d6c74

Please sign in to comment.