提交 343a45dc 编写于 作者: J Jacob Schatz

Use existing truncation.

上级 dee68253
......@@ -121,13 +121,6 @@ of the body element here, we negate cascading side effects but allow momentum sc
-webkit-overflow-scrolling: auto;
}
.truncate {
width: 250px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.with-performance-bar .page-with-sidebar {
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
*/
......
......@@ -44,7 +44,7 @@
}
.commit-message {
@include truncate(250px);
@include str-truncated(250px);
}
#editable-mode {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册