Use existing truncation.
This commit is contained in:
parent
dee68253da
commit
343a45dc58
3 changed files with 1 additions and 15 deletions
|
@ -121,13 +121,6 @@ of the body element here, we negate cascading side effects but allow momentum sc
|
||||||
-webkit-overflow-scrolling: auto;
|
-webkit-overflow-scrolling: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.truncate {
|
|
||||||
width: 250px;
|
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
|
|
||||||
.with-performance-bar .page-with-sidebar {
|
.with-performance-bar .page-with-sidebar {
|
||||||
margin-top: $header-height + $performance-bar-height;
|
margin-top: $header-height + $performance-bar-height;
|
||||||
}
|
}
|
||||||
|
|
|
@ -119,13 +119,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin truncate($width: 250px) {
|
|
||||||
width: $width;
|
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Mixin for status badges, as used for pipelines and commit signatures
|
* Mixin for status badges, as used for pipelines and commit signatures
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.commit-message {
|
.commit-message {
|
||||||
@include truncate(250px);
|
@include str-truncated(250px);
|
||||||
}
|
}
|
||||||
|
|
||||||
#editable-mode {
|
#editable-mode {
|
||||||
|
|
Loading…
Reference in a new issue