mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 13:55:21 +02:00
feat(log-viewer): add the ability to wrap lines (#1972)
* feat(log-viewer): Split auto scrolling & log refresh + adds wrap lines option * feat(log-viewer): Get rid of scroll lock changes * feat(log-viewer): remove function call in view [code review changes]
This commit is contained in:
parent
85d50d7566
commit
a94f2ee7b8
3 changed files with 16 additions and 2 deletions
|
@ -715,12 +715,15 @@ ul.sidebar .sidebar-list .sidebar-sublist a.active {
|
|||
.log_viewer {
|
||||
height:100%;
|
||||
overflow-y: scroll;
|
||||
white-space: pre-wrap;
|
||||
color: black;
|
||||
font-size: .85em;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.log_viewer.wrap_lines {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.log_viewer .inner_line {
|
||||
padding: 0 15px;
|
||||
cursor: pointer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue