Commit 343a45dc authored by Jacob Schatz's avatar Jacob Schatz

Use existing truncation.

parent dee68253
...@@ -121,13 +121,6 @@ of the body element here, we negate cascading side effects but allow momentum sc ...@@ -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 @@ ...@@ -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 @@ ...@@ -44,7 +44,7 @@
} }
.commit-message { .commit-message {
@include truncate(250px); @include str-truncated(250px);
} }
#editable-mode { #editable-mode {
......
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