Skip to content

Commit

Permalink
Merge pull request #252 from pateljannat/animation-changes
Browse files Browse the repository at this point in the history
fix: sidebar animation
  • Loading branch information
pateljannat committed Jun 19, 2024
2 parents ec653be + 7510a88 commit 98ab0ca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion wiki/public/js/render_wiki.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ window.RenderWiki = class RenderWiki extends Wiki {
this.set_nav_buttons();
this.set_toc();
this.set_last_updated_date();
//this.scrolltotop();
this.scrolltotop();
this.set_add_item();
this.add_trash_icon();
this.set_empty_ul();
Expand Down
2 changes: 1 addition & 1 deletion wiki/public/js/wiki.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ window.Wiki = class Wiki {
if (active_sidebar_item.length > 0) {
setTimeout(function () {
active_sidebar_item.get(0).scrollIntoView({
behavior: "smooth",
behavior: "instant",
block: "center",
});
}, 50);
Expand Down
8 changes: 4 additions & 4 deletions wiki/public/scss/wiki.scss
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,10 @@ h6:hover .feather-link {
}
}

.dropdown-toggle.wiki-options::after {
display: none;
}

.wiki-options {
width: 2rem;
height: 2rem;
Expand All @@ -849,10 +853,6 @@ h6:hover .feather-link {
width: 2rem;
}

.dropdown-toggle.wiki-options::after {
display: none;
}

.dropdown-menu {
min-width: 7.5rem;
}
Expand Down

0 comments on commit 98ab0ca

Please sign in to comment.