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
Boxiang Sun
gitlab-ce
Commits
41f01851
Commit
41f01851
authored
Apr 17, 2017
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use ellipsis and nowrap.
parent
29517307
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+10
-6
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
41f01851
...
@@ -929,20 +929,24 @@ pre.light-well {
...
@@ -929,20 +929,24 @@ pre.light-well {
}
}
.variable-key
{
.variable-key
{
width
:
120px
;
/* 45px is not the actual maximum width. The
max-width
:
120px
;
browser uses it to calculate cell width relative
to variable-value and variable-menu */
max-width
:
45px
;
// This is the actual min-width, makes a difference only on small screens
min-width
:
100px
;
overflow
:
hidden
;
overflow
:
hidden
;
word-wrap
:
break-word
;
word-wrap
:
break-word
;
white-space
:
nowrap
;
// override bootstrap
text-overflow
:
ellipsis
;
white-space
:
normal
!
important
;
}
}
.variable-value
{
.variable-value
{
width
:
150px
;
max-width
:
150px
;
max-width
:
150px
;
overflow
:
hidden
;
overflow
:
hidden
;
word-wrap
:
break-word
;
word-wrap
:
break-word
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
}
}
.variable-menu
{
.variable-menu
{
...
...
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