Fixes weird skew in media grid

This commit is contained in:
Simon Busborg
2016-01-26 13:29:39 +01:00
parent fa1c227136
commit 3ed340bde1

View File

@@ -9,17 +9,24 @@
}
.umb-media-grid__item {
margin: 10px;
position: relative;
overflow: hidden;
cursor: pointer;
display: flex;
align-content: center;
align-items: center;
align-self: stretch;
box-shadow: 0 1px 1px 0 rgba(0,0,0,.2);
justify-content: center;
transition: box-shadow 100ms;
display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: center;
align-content: center;
align-items: center;
align-self: stretch;
margin: 10px;
position: relative;
overflow: hidden;
cursor: pointer;
box-shadow: 0 1px 1px 0 rgba(0,0,0,.2);
transition: box-shadow 100ms;
}
.umb-media-grid__item.-file {