Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
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
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
15 deletions
+1
-15
app/assets/stylesheets/framework/layout.scss
app/assets/stylesheets/framework/layout.scss
+0
-7
app/assets/stylesheets/framework/mixins.scss
app/assets/stylesheets/framework/mixins.scss
+0
-7
app/assets/stylesheets/pages/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