[Docs] Fix inline code blocks and misc tweaks. (#2878)
* Fix code blocks and list items having overlap if they contain code blocks. * Fixes for interaction framework intro guide. * Add NuGet icon to top navbar. * tweak action triggers * Fix mobile navbar links. * Add relatively ugly hack to improve toc filter functionality. --------- Co-authored-by: Mihail Gribkov <61027276+Misha-133@users.noreply.github.com>
This commit is contained in:
16
docs/_template/material/public/main.css
vendored
16
docs/_template/material/public/main.css
vendored
@@ -184,8 +184,20 @@ code {
|
||||
}
|
||||
|
||||
/* MAKES PARAMETERS MORE SPACIOUS */
|
||||
dl.parameters > dt > code {
|
||||
padding: 3px;
|
||||
:not(pre) > code {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
/* MAKES LIST ITEMS BE SLIGHTLY MORE SEPARATED */
|
||||
/* THIS AVOIDS CODE BLOCK OVERLAP */
|
||||
ul:not(.navbar-nav) > li:not(:last-child) {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
/* MAKES NAVBAR LINKS LOOK BETTER IN MOBILE */
|
||||
.navbar-expand-md .navbar-nav .nav-link {
|
||||
padding-right: var(--bs-navbar-nav-link-padding-x);
|
||||
padding-left: var(--bs-navbar-nav-link-padding-x);
|
||||
}
|
||||
|
||||
/* MAKES INHERITANCE LIST READABLE */
|
||||
|
||||
Reference in New Issue
Block a user