Skip to content

Commit 1b136b6

Browse files
authored
Merge pull request dockersamples#139 from RyslanDev/feature/use-flexbox-for-nodes-list
Use flexbox
2 parents ae26884 + ae9a098 commit 1b136b6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/vis-physical/styles.less

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@
9595
}
9696

9797
.node{
98-
float: left;
98+
display: flex;
99+
flex-direction: column;
100+
justify-content: space-between;
99101
margin-bottom: 20px;
100102
margin-right: 10px;
101103
&:last-child{
@@ -181,6 +183,9 @@
181183
}
182184

183185
.node-cluster-content {
186+
display: flex;
187+
flex-direction: row;
188+
flex-wrap: wrap;
184189
background: @gray-darker;
185190
border: 2px solid lighten(@gray-darker,8%);
186191
padding: 15px;

0 commit comments

Comments
 (0)