diff options
author | Yorhel <git@yorhel.nl> | 2019-11-10 16:06:37 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-11-10 16:10:07 +0100 |
commit | 671ba75f3fdc46d250fd7e2a64017dc2b62d885e (patch) | |
tree | 9a691c810c941b2e6b657100b5faf8fde4eca1d2 /data | |
parent | 6978b670e715d32f39e15c1aa2191d5dcd86685c (diff) |
ulist: Improve page load time by lazily loading some things
Instantiating 100 <input type="date"> takes about 180ms on my system
with Firefox, so doing that lazily is a big win. UList.Opt is typically
hidden, lazily initializing that saves an additional 60ms.
Also increase the mouse-over div for the date editor a bit so that
there's more hover space.
Diffstat (limited to 'data')
-rw-r--r-- | data/style.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/style.css b/data/style.css index fdc47f5a..a0d744e2 100644 --- a/data/style.css +++ b/data/style.css @@ -816,7 +816,7 @@ div.votelist td.tc2 { width: 50px; text-align: right; padding-right: 10px } .ulist .tc4 input { width: 55px; text-align: right } .ulist .tc5, .ulist .tc6, .ulist .tc7 { white-space: nowrap; width: 100px } -.ulist .tc6 div, .ulist .tc7 div { height: 1em } +.ulist .tc6 div, .ulist .tc7 div { height: 1em; padding-bottom: 4px } .ulist .tc6 div span, .ulist .tc7 div span { position: absolute; z-index: 0 } .ulist .tc6 div input, .ulist .tc7 div input { position: absolute; z-index: 900; width: 110px; visibility: hidden } .ulist .tc6 div:hover input, .ulist .tc7 div:hover input, |