1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +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:
Hasnat 2018-07-10 20:06:45 +01:00 committed by Anthony Lapenna
parent 85d50d7566
commit a94f2ee7b8
3 changed files with 16 additions and 2 deletions

View file

@ -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;