Job details won't scroll horizontally to show long lines
This commit is contained in:
parent
ff048ba8a3
commit
6da858dcb1
|
@ -196,6 +196,7 @@ window.Build = (function () {
|
|||
})
|
||||
.done((log) => {
|
||||
gl.utils.setCiStatusFavicon(`${this.pageUrl}/status.json`);
|
||||
|
||||
if (log.state) {
|
||||
this.state = log.state;
|
||||
}
|
||||
|
@ -220,7 +221,11 @@ window.Build = (function () {
|
|||
}
|
||||
|
||||
if (!log.complete) {
|
||||
this.toggleScrollAnimation(true);
|
||||
if (!this.hasBeenScrolled) {
|
||||
this.toggleScrollAnimation(true);
|
||||
} else {
|
||||
this.toggleScrollAnimation(false);
|
||||
}
|
||||
|
||||
Build.timeout = setTimeout(() => {
|
||||
//eslint-disable-next-line
|
||||
|
|
|
@ -147,10 +147,9 @@
|
|||
top: 35px;
|
||||
left: 10px;
|
||||
bottom: 0;
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
padding: 10px 20px 20px 5px;
|
||||
white-space: pre;
|
||||
white-space: pre-wrap;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.environment-information {
|
||||
|
|
Loading…
Reference in New Issue