diff --git a/docs/cli/show-commands/chassis-and-env.md b/docs/cli/show-commands/chassis-and-env.md index de139c50..10647e5e 100644 --- a/docs/cli/show-commands/chassis-and-env.md +++ b/docs/cli/show-commands/chassis-and-env.md @@ -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 @@ -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]` diff --git a/docs/stylesheets/nokia.css b/docs/stylesheets/nokia.css index 351abb3a..f81d2561 100644 --- a/docs/stylesheets/nokia.css +++ b/docs/stylesheets/nokia.css @@ -223,4 +223,13 @@ th { padding: .2rem .3rem; } -/* END mkdocs Badge elements (version) */ \ No newline at end of file +/* 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; +} \ No newline at end of file