Skip to content

Commit

Permalink
fix(simput): Grid height style issue on Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed May 21, 2018
1 parent 278325d commit ddefae2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/widgets/GridMapWidget.mcss
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,21 @@
.gridItem {
align-self: stretch;
border: solid 1px rgba(100, 100, 100, 0.5);
padding-top: 100%;

position: relative;
transition-timing-function: ease-in;
transition: opacity 0.5s;
}

.gridItem:before {
content: "";
height: 0;
display: inline-block;
padding-top: 100%;
width: 1px;
position: relative;
}

.inactiveGridItem {
composes: gridItem;
opacity: 0.5;
Expand Down

0 comments on commit ddefae2

Please sign in to comment.