Skip to content

Commit

Permalink
Update default.css
Browse files Browse the repository at this point in the history
  • Loading branch information
RemusDBD authored Jul 21, 2024
1 parent e0ccc30 commit 456fb65
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions assets/css/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@ body {
top: 0;
bottom: 0;
left: 0;
z-index: 100;
padding: 48px 0 0 1%;
z-index: 100; /* Behind the navbar */
padding: 48px 0 0 1%; /* Height of navbar */
box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
justify-content: space-between; /* Ensures the footer stays at the bottom */
}

@media(max-width: 767.98px) {
Expand All @@ -32,9 +29,12 @@ body {
}

.sidebar-sticky {
flex: 1; /* Ensures this section takes up the available space */
position: relative;
top: 0;
height: calc(100vh - 48px);
padding-top: 0.5rem;
overflow-x: hidden;
overflow-y: auto;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
Expand Down Expand Up @@ -91,11 +91,10 @@ ol.submenu {

.sidebar-footer {
padding: 1em;
font-size: 0.8rem;
font-size:0.8rem;
position: absolute;
bottom: 0px;
color: #808080;
background-color: #343a40;
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
flex-shrink: 0; /* Prevents the footer from shrinking */
}

.sidebar-footer > a:link {
Expand Down

0 comments on commit 456fb65

Please sign in to comment.