瀏覽代碼

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 年之前
父節點
當前提交
844ba08eee
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. +3
    -2
      macrovision.css

+ 3
- 2
macrovision.css 查看文件

@@ -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…
取消
儲存