Quellcode durchsuchen

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 vor 5 Jahren
Ursprung
Commit
844ba08eee
1 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
  1. +3
    -2
      macrovision.css

+ 3
- 2
macrovision.css Datei anzeigen

@@ -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;
}



Laden…
Abbrechen
Speichern