Skip to content

Commit ae26884

Browse files
authored
Merge pull request dockersamples#127 from Minimonium/feature/wrap_node_content
Wrap contents of nodes with multiple containers to fill wide screens
2 parents 0cd5573 + bf012c7 commit ae26884

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/vis-physical/styles.less

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@
9696

9797
.node{
9898
float: left;
99-
width: 200px;
10099
margin-bottom: 20px;
101100
margin-right: 10px;
102101
&:last-child{
@@ -131,7 +130,7 @@
131130
.node-content{
132131
padding: 0 10px;
133132
display: flex;
134-
flex-direction: column-reverse;
133+
flex-wrap: wrap;
135134
background: @gray-darkerr;
136135
border: 2px solid lighten(@gray-darker,8%);
137136
min-height: 500px;
@@ -143,6 +142,7 @@
143142

144143
.container {
145144
//height: 152px;
145+
width: 200px;
146146
margin-bottom: 5px;
147147
margin-top: 5px;
148148
border-radius: 3px;
@@ -184,10 +184,11 @@
184184
background: @gray-darker;
185185
border: 2px solid lighten(@gray-darker,8%);
186186
padding: 15px;
187+
display: flex;
187188
.clear();
188189
}
189190
.node-cluster-content:empty {
190-
display: none;
191+
display: none;
191192
}
192193

193194
.node-cluster-meta{

0 commit comments

Comments
 (0)