Skip to content

Commit

Permalink
docs: fixed gap between table of contents
Browse files Browse the repository at this point in the history
- added css to remove the gap

-fixed padding for the menu mobile icon

JIRA: DP-2904
  • Loading branch information
quanb-duy committed Jun 16, 2024
1 parent b7909ae commit 55492aa
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions docs/assets/scss/breadcrumbs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,20 @@
}
}
}
// Fix the gap on sidebar - media query for breadcrumbs
@media only screen and (min-width: 991px) {
.td-main .gd-breadcrumb {
display: none;
}
}

@media only screen and (max-width: 990px) {
.td-main .gd-breadcrumb {
display: flex;
padding-top: 145px;
}

.col-xl-3.td-sidebar.d-print-none {
padding-top: 0;
}
}
2 changes: 1 addition & 1 deletion docs/assets/scss/menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

&__mobile-icon {
position: fixed;
top: $header-first-nav-height;
top: $header-first-nav-height-desktop;
display: flex;
justify-content: center;
align-items: center;
Expand Down

0 comments on commit 55492aa

Please sign in to comment.