Browse Source

Force the size of the world to stay constant to fix weird bug with filters

Without a max-height constraining the height of the world, it stretched a little bit when
applying a filter to any of the entities
tags/v0.0.1
Fen Dweller 5 years ago
parent
commit
844ba08eee
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      macrovision.css

+ 3
- 2
macrovision.css View File

@@ -27,7 +27,7 @@ body {
}

.selected {
filter: drop-shadow(0px 0px 10px gold);
filter: drop-shadow(0px 0px 15px gold);
}

#main-area {
@@ -49,7 +49,8 @@ body {

#world {
flex: 9 0 85vw;
min-height: 80vh;
min-height: 90vh;
max-height: 90vh;
overflow: hidden;
}



Loading…
Cancel
Save