mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
remove translateZ hack
while it does improve repaint performance on *some* setups (OS X+Chrome+Low-DPI), it seems to have no effect on most (OS X+FF, OS X+Chrome+High-DPI, Linux+Chrome), and the opposite effect on others (Linux+FF).
This commit is contained in:
parent
0496a3ba84
commit
fd8db4f282
@ -79,12 +79,6 @@ body {
|
||||
}
|
||||
|
||||
#site {
|
||||
// avoid repaints on size with translateZ(0)
|
||||
-webkit-transform: translateZ(0);
|
||||
-moz-transform: translateZ(0);
|
||||
-ms-transform: translateZ(0);
|
||||
-o-transform: translateZ(0);
|
||||
transform: translateZ(0);
|
||||
width: 100%;
|
||||
display: none;
|
||||
.border-box-sizing();
|
||||
|
5
IPython/html/static/style/style.min.css
vendored
5
IPython/html/static/style/style.min.css
vendored
@ -8454,11 +8454,6 @@ body {
|
||||
height: 28px;
|
||||
}
|
||||
#site {
|
||||
-webkit-transform: translateZ(0);
|
||||
-moz-transform: translateZ(0);
|
||||
-ms-transform: translateZ(0);
|
||||
-o-transform: translateZ(0);
|
||||
transform: translateZ(0);
|
||||
width: 100%;
|
||||
display: none;
|
||||
box-sizing: border-box;
|
||||
|
Loading…
Reference in New Issue
Block a user