Fix layout of boards rows.
This removes empty spaces from the layout of the boards on the most of the browsers. The code preserves left aligned layout and is backward compatible with EI1 Thanks!
This commit is contained in:
parent
eed810d831
commit
fd9c7967c3
@ -169,11 +169,24 @@ Content Area
|
|||||||
Boards Page
|
Boards Page
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#boards > ul {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-ms-flex-wrap: wrap;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
-webkit-box-align: start;
|
||||||
|
-ms-flex-align: start;
|
||||||
|
align-items: flex-start;
|
||||||
|
-webkit-box-pack: start;
|
||||||
|
-ms-flex-pack: start;
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
#boards .board, #featured .board {
|
#boards .board, #featured .board {
|
||||||
box-sizing:border-box;
|
box-sizing:border-box;
|
||||||
width:25%;
|
width:25%;
|
||||||
display:block;
|
display:block;
|
||||||
float:left;
|
|
||||||
text-align:center;
|
text-align:center;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
@ -134,11 +134,23 @@ Content Area
|
|||||||
/*
|
/*
|
||||||
Boards Page
|
Boards Page
|
||||||
*/
|
*/
|
||||||
|
#boards > ul {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-ms-flex-wrap: wrap;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
-webkit-box-align: start;
|
||||||
|
-ms-flex-align: start;
|
||||||
|
align-items: flex-start;
|
||||||
|
-webkit-box-pack: start;
|
||||||
|
-ms-flex-pack: start;
|
||||||
|
justify-content: flex-start; }
|
||||||
|
|
||||||
#boards .board, #featured .board {
|
#boards .board, #featured .board {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
width: 25%;
|
width: 25%;
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
|
||||||
text-align: center; }
|
text-align: center; }
|
||||||
#boards .board a, #featured .board a {
|
#boards .board a, #featured .board a {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
|
Loading…
Reference in New Issue
Block a user