Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2cda07e7
authored
Nov 19, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: use flex to limit width
parent
a3bbce2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
20 deletions
+21
-20
circle/dashboard/static/dashboard/dashboard.less
+21
-20
No files found.
circle/dashboard/static/dashboard/dashboard.less
View file @
2cda07e7
...
@@ -516,26 +516,6 @@ footer a, footer a:hover, footer a:visited {
...
@@ -516,26 +516,6 @@ footer a, footer a:hover, footer a:visited {
padding: 5px; /* it's nice this way in the tour */
padding: 5px; /* it's nice this way in the tour */
}
}
.index-vm-list-name {
display: inline-block;
max-width: 70%;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
float: left;
}
.index-vm-list-host {
display: inline-block;
max-width: 25%;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
float: left;
padding-top: 3px;
}
#dashboard-vm-list a small {
#dashboard-vm-list a small {
padding-left: 10px;
padding-left: 10px;
}
}
...
@@ -1181,3 +1161,24 @@ textarea[name="new_members"] {
...
@@ -1181,3 +1161,24 @@ textarea[name="new_members"] {
background-position: 0 0px;
background-position: 0 0px;
}
}
}
}
#dashboard-vm-list {
.list-group-item {
display: flex;
}
.index-vm-list-name, .index-vm-list-host {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.index-vm-list-name {
max-width: 65%;
}
.index-vm-list-host {
padding-top: 3px;
flex: 1;
}
}
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