Commit 6da858dc authored by Filipa Lacerda's avatar Filipa Lacerda Committed by Phil Hughes

Job details won't scroll horizontally to show long lines

parent ff048ba8
...@@ -196,6 +196,7 @@ window.Build = (function () { ...@@ -196,6 +196,7 @@ window.Build = (function () {
}) })
.done((log) => { .done((log) => {
gl.utils.setCiStatusFavicon(`${this.pageUrl}/status.json`); gl.utils.setCiStatusFavicon(`${this.pageUrl}/status.json`);
if (log.state) { if (log.state) {
this.state = log.state; this.state = log.state;
} }
...@@ -220,7 +221,11 @@ window.Build = (function () { ...@@ -220,7 +221,11 @@ window.Build = (function () {
} }
if (!log.complete) { if (!log.complete) {
if (!this.hasBeenScrolled) {
this.toggleScrollAnimation(true); this.toggleScrollAnimation(true);
} else {
this.toggleScrollAnimation(false);
}
Build.timeout = setTimeout(() => { Build.timeout = setTimeout(() => {
//eslint-disable-next-line //eslint-disable-next-line
......
...@@ -147,10 +147,9 @@ ...@@ -147,10 +147,9 @@
top: 35px; top: 35px;
left: 10px; left: 10px;
bottom: 0; bottom: 0;
overflow-y: scroll;
overflow-x: hidden;
padding: 10px 20px 20px 5px; padding: 10px 20px 20px 5px;
white-space: pre; white-space: pre-wrap;
overflow: auto;
} }
.environment-information { .environment-information {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment