Skip to content

Commit e1902c3

Browse files
committed
Use dead-sexy flexbox instead of bloated floats
1 parent fbed8e7 commit e1902c3

1 file changed

Lines changed: 4 additions & 13 deletions

File tree

styles/prosilver/theme/ideas.css

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,15 @@ dd.topics {
118118
/* Idea Body Styles */
119119
.idea-panel {
120120
font-size: 11px;
121+
display: flex;
122+
flex-wrap: wrap;
121123
width: 100%;
122124
}
123125

124126
.idea-panel-inner {
125-
float: left;
127+
flex-grow: 1;
126128
box-sizing: border-box;
127-
width: 50%;
129+
width: 400px;
128130
padding: 0 3px;
129131
}
130132

@@ -236,14 +238,3 @@ dd.topics {
236238
.rating {
237239
margin-top: 4px;
238240
}
239-
240-
@media (max-width: 900px) {
241-
.idea-panel-inner {
242-
float: none;
243-
width: 100%;
244-
}
245-
246-
.status-item {
247-
align-items: flex-start;
248-
}
249-
}

0 commit comments

Comments
 (0)