Skip to content

Commit

Permalink
add missing header/top section on pages (#5786) (#5787)
Browse files Browse the repository at this point in the history
fix ui issues
  • Loading branch information
carlagn authored and jharrell committed Apr 10, 2024
1 parent 7096fe8 commit 3279506
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docs/500-platform/60-platform-cli/20-commands.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: 'Commands'
metaTitle: 'Platform CLI: Commands'
tocDepth: 4
toc_max_heading_level: 4

---

<TopBlock title={frontMatter.title}>
Expand Down
16 changes: 13 additions & 3 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ main {
}
code {
border: none !important;
padding: .05em .3em .2em;
}


Expand Down Expand Up @@ -909,13 +910,15 @@ hr {
}
}

.table-of-contents__link:not(:has(> code)) {
background-image: linear-gradient(currentColor,var(--dark-color));
background-position: 0% 100%;
}
.table-of-contents__link {
text-decoration: none;
color: rgb(113, 128, 150);
font-size: 0.875rem;
line-height: 1rem;
background-image: linear-gradient(currentColor,var(--dark-color));
background-position: 0% 100%;
display: inline;
width: fit-content;
background-repeat: no-repeat;
Expand Down Expand Up @@ -1033,7 +1036,8 @@ hr {
}

.table-of-contents__link--active code {
color: inherit;
color: white;
background: var(--dark-color);
}

.pagination-nav__label {
Expand Down Expand Up @@ -1292,6 +1296,12 @@ article h6 {
}

@media (max-width: 996px) {
.clean-btn {
z-index: 1;
font-weight: 600;
font-size: 18px;
position: relative;
}
nav {
position: relative;
}
Expand Down

0 comments on commit 3279506

Please sign in to comment.