Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions phpmyfaq/assets/templates/admin/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<body dir="{{ pageDirection }}" id="page-top">

<!-- phpMyFAQ Admin Top Bar -->
<nav class="pmf-admin-topnav navbar navbar-expand text-bg-dark">
<nav class="pmf-admin-topnav navbar navbar-expand text-bg-dark sticky-top">
<a class="navbar-brand text-white text-center ps-3" href="../" title="phpMyFAQ {{ version }}">
<img height="50" src="../assets/images/logo-transparent.svg" alt="phpMyFAQ Logo">
</a>
Expand Down Expand Up @@ -96,7 +96,7 @@
<div id="pmf-admin-layout-sidenav_nav">
<nav class="pmf-admin-sidenav accordion pmf-admin-sidenav-dark" id="sidenavAccordion">
<div class="pmf-admin-sidenav-menu mt-2">
<div class="nav">
<div class="nav sticky-top">

<!-- Dashboard -->
<a class="nav-link" href="./">
Expand Down
5 changes: 5 additions & 0 deletions phpmyfaq/assets/templates/sven/admin.css
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This CSS code should be in the admin SCSS files.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@


#sidenavAccordion div.sticky-top {
top: 65px;
}