Files
nomad/ui/app/styles/components/cli-window.scss
Phil Renaud 6124c1a6fd [ui] Text wrap long lines of code and logs (#17754)
* Text and code wrapping as a localStorage var

* task-log uses wrapping and kb shortcut

* Word wrap keyboard labels

* Wrapper as a toggle not a button

* Changelog and fixed an extra space trailing log lines

* Moves toggle to inside

* Acceptance tests for ww and toggle click
2023-06-30 17:07:57 -04:00

29 lines
335 B
SCSS

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
.cli-window {
background: transparent;
color: $white;
height: 500px;
overflow: auto;
code {
height: 100%;
&.wrapped {
white-space: pre-wrap;
}
}
.is-light {
color: $text;
}
&.is-elastic {
height: auto;
}
}