diff options
author | Devaev Maxim <[email protected]> | 2018-07-31 21:57:20 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-07-31 21:57:20 +0300 |
commit | 3a748859ffd961552f272f751c7329e3021ac375 (patch) | |
tree | 964ab8d98ea14f642f95bf5384a83a0580fdd2ee /kvmd/web/css/windows.css | |
parent | 89fca2752093c8f4ec42b7c869b0e72cc3eee7f5 (diff) |
js-based windows centering
Diffstat (limited to 'kvmd/web/css/windows.css')
-rw-r--r-- | kvmd/web/css/windows.css | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/kvmd/web/css/windows.css b/kvmd/web/css/windows.css index a5dc6bfb..8f632b86 100644 --- a/kvmd/web/css/windows.css +++ b/kvmd/web/css/windows.css @@ -6,14 +6,10 @@ div.window { border-radius: 8px; box-sizing: border-box; box-shadow: var(--big-shadow); - display: block; + visibility: hidden; white-space: nowrap; background-color: var(--bg-color-light); padding: 30px 9px 9px 9px; - -webkit-transform: translate(-50%, -50%); - transform: translate(-50%, -50%); - top: 50%; - left: 50%; } div.window:focus { border: var(--intensive-border) !important; |