Skip to content

Commit

Permalink
fix: editor layout and font
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikb64 committed Feb 17, 2025
1 parent 91d6c74 commit fd77147
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 25 deletions.
2 changes: 0 additions & 2 deletions wiki/public/scss/general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@

.main-column {
background-color: var(--background-color);
width: 745px;
padding: 0px 50px;
margin: 0 auto;

@include media-breakpoint-down(md) {
padding: 20px;
Expand Down
17 changes: 8 additions & 9 deletions wiki/public/scss/markdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,28 +39,28 @@
}

h1 {
font-size: 30px;
font-size: 22px;
margin-top: 0;
margin-bottom: 0.8888889em;
line-height: 1.1111111;
}

h2 {
font-size: 22px;
margin-top: 2em;
margin-bottom: 1em;
font-size: 20px;
margin-top: 1.5em;
margin-bottom: 0.5em;
line-height: 1.3333333;
}

h3 {
font-size: 20px;
margin-top: 1.6em;
margin-bottom: 0.6em;
font-size: 18px;
margin-top: 1.2em;
margin-bottom: 0.4em;
line-height: 1.6;
}

h4 {
margin-top: 18px;
margin-top: 16px;
margin-bottom: 0.5em;
line-height: 1.5;
}
Expand Down Expand Up @@ -284,7 +284,6 @@
}

.wiki-page-content {
max-width: 750px;
margin: 0.5rem auto;

@include media-breakpoint-down(md) {
Expand Down
13 changes: 4 additions & 9 deletions wiki/public/scss/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
.sidebar-group-list {
display: flex;
flex-direction: column;
gap: 10px;
gap: 2px;
list-style-type: none;
padding: 0px;
}
Expand All @@ -56,8 +56,8 @@
gap: 8px;
}
.sidebar-group-title {
font-size: 15px;
font-weight: 450;
font-size: 13px;
font-weight: 500;
line-height: 16px;
letter-spacing: 0.015em;
text-align: left;
Expand All @@ -66,8 +66,7 @@
display: flex;
flex-direction: column;
list-style-type: none;
padding: 0px 10px;
margin-top: 10px;
margin-top: 4px;
margin-left: 10px;
margin-bottom: 10px !important;
border-left: 1px solid var(--border-color);
Expand Down Expand Up @@ -168,10 +167,6 @@
box-shadow: 0 0 #0000, 0 0 #0000, 0px 1px 2px rgba(0, 0, 0, 0.1);
}

.active {
font-weight: 700 !important;
}

div {
display: flex;
align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion wiki/wiki/doctype/wiki_page/templates/show.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h5 class="modal-title" id="addGroupModalTitle">Title</h5>
</div>
</div>

<div class="flex my-4 wiki-page-meta hide d-print-none">
<div class="flex my-4 wiki-page-meta d-print-none">
{%- if show_feedback -%}
<div class="flex">
<span class="text-sm d-none d-sm-block">Was this article helpful?</span>
Expand Down
8 changes: 4 additions & 4 deletions wiki/wiki/doctype/wiki_page/templates/wiki_navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
<span>{{ (frappe.get_hooks("brand_html") or [_("Home")])[0] }}</span>
{%- endif -%}
</a>
<div id="navbar-dropdown">
<!-- <div id="navbar-dropdown">
<svg viewBox="0 0 24 24" width="16" height="16" stroke="currentColor" stroke-width="2" fill="none"
stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1">
<polyline points="6 9 12 15 18 9"></polyline>
</svg>
</div>
<div id="navbar-dropdown-content" class="hide">
</div> -->
<!-- <div id="navbar-dropdown-content" class="hide">
<a href="/apps">
<div class="app-switcher">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none"
Expand All @@ -32,7 +32,7 @@
Apps
</div>
</a>
</div>
</div> -->
</div>

{% if navbar_search %}
Expand Down

0 comments on commit fd77147

Please sign in to comment.