Use less specific (i.e. faster) selectors.

This commit is contained in:
Paulo Reis 2017-06-13 11:04:26 +01:00 committed by Brian Gough
parent f0a940df35
commit 1b07dda1b9

View file

@ -37,20 +37,6 @@
margin: 10px auto; margin: 10px auto;
padding: 0 10px; padding: 0 10px;
box-sizing: content-box; box-sizing: content-box;
// don't display the text layer by default,
// it slows down scrolling
div.plv-text-layer {
display: none;
}
// display it if we are hovering over the page
// so it's selectable
// FIXME: need to work out a solution to
// select text across multiple pages
&:hover {
div.plv-text-layer {
display: block;
}
}
} }
} }
.progress-thin { .progress-thin {