Use existing truncation.

This commit is contained in:
Jacob Schatz 2017-08-06 12:34:42 -04:00
parent dee68253da
commit 343a45dc58
3 changed files with 1 additions and 15 deletions

View file

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

View file

@ -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
*/ */

View file

@ -44,7 +44,7 @@
} }
.commit-message { .commit-message {
@include truncate(250px); @include str-truncated(250px);
} }
#editable-mode { #editable-mode {