Skip to content

Commit

Permalink
added vertical scroll css class
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Nov 23, 2023
1 parent 68b7899 commit 8b79447
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/cli/show-commands/chassis-and-env.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ A:srl-ixr6# show platform environment

/// tab | CLI

```srl
```{.srl .code-scroll-lg}
A:srl-ixr6# show platform control A detail
====================================================================================================================
Show report for Controller A
Expand Down Expand Up @@ -1013,6 +1013,7 @@ A:srl-ixr6# info from state platform control A disk /dev/sdb
}
```

///
/// tab | Path
`/platform/control[slot=A]/disk[name=/dev/sdb]`
Expand Down
11 changes: 10 additions & 1 deletion docs/stylesheets/nokia.css
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,13 @@ th {
padding: .2rem .3rem;
}

/* END mkdocs Badge elements (version) */
/* END mkdocs Badge elements (version) */

/* scrollable code blocks used in code snippets */
div.highlight.code-scroll-lg pre>code {
max-height: 80vh;
}

div.highlight.code-scroll-sm pre>code {
max-height: 50vh;
}

0 comments on commit 8b79447

Please sign in to comment.