BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
343a45dc
Commit
343a45dc
authored
Aug 06, 2017
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use existing truncation.
parent
dee68253
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
15 deletions
+1
-15
layout.scss
app/assets/stylesheets/framework/layout.scss
+0
-7
mixins.scss
app/assets/stylesheets/framework/mixins.scss
+0
-7
repo.scss
app/assets/stylesheets/pages/repo.scss
+1
-1
No files found.
app/assets/stylesheets/framework/layout.scss
View file @
343a45dc
...
...
@@ -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
;
}
app/assets/stylesheets/framework/mixins.scss
View file @
343a45dc
...
...
@@ -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
*/
...
...
app/assets/stylesheets/pages/repo.scss
View file @
343a45dc
...
...
@@ -44,7 +44,7 @@
}
.commit-message
{
@include
truncate
(
250px
);
@include
str-truncated
(
250px
);
}
#editable-mode
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment