Skip to content

Commit 1828fe9

Browse files
committed
fix WTFs w/ drag-drop receiver
1 parent d2a4daa commit 1828fe9

1 file changed

Lines changed: 26 additions & 6 deletions

File tree

  • chef-server-webui/public/stylesheets

chef-server-webui/public/stylesheets/chef.css

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,27 @@ dl dt { font-weight: bold; }
5151

5252
div.sortable {
5353
height: 200px;
54-
width: 225px;
54+
width: 350px;
5555
margin-right: 10px;
5656
border: 1px solid black;
57-
overflow: scroll;
57+
overflow-y: scroll;
5858
background: #777777;
5959
}
6060

6161
div.sortable.run-list {
6262
height: 430px;
63-
width: 225px;
63+
width: 350px;
6464
margin-right: 10px;
6565
border: 1px solid black;
66-
overflow: scroll;
66+
overflow-y: scroll;
6767
background: #777777;
6868
}
6969

70+
div.run-list ul.ui-sortable#for_node, div.run-list ul.ui-sortable#for_role {
71+
min-height: 420px;
72+
}
73+
74+
7075
div.clear {
7176
clear: left;
7277
}
@@ -125,9 +130,24 @@ div.editor {
125130
border: 1px solid black;
126131
}
127132

128-
#node_available_roles, #node_available_recipes, #for_node, #for_role, #available_recipes { list-style-type: none; margin: 0; padding: 0; float: left; margin-right: 10px; background: #eee; padding: 5px; width: 200px;}
133+
#node_available_roles, #node_available_recipes, #for_node, #for_role, #available_recipes {
134+
list-style-type: none;
135+
margin: 0;
136+
padding: 0;
137+
float: left;
138+
margin-right: 10px;
139+
background: #eee;
140+
padding: 5px;
141+
width: 325px;
142+
min-height:200px;
143+
}
129144

130-
#node_available_roles li, #node_available_recipes li, #for_node li, #for_role li, #available_recipes li { margin: 0 5px 5px 5px; padding: 5px; width: 175px; }
145+
#node_available_roles li, #node_available_recipes li, #for_node li, #for_role li, #available_recipes li {
146+
margin: 0 5px 5px 5px;
147+
padding: 5px;
148+
width: 310px;
149+
overflow:hidden;
150+
}
131151

132152
#sidebar_block {
133153
display: none;

0 commit comments

Comments
 (0)