hyper/app/index.html
Mike 2d4b518519 Prevent hovering on tabs from causing text flicker (#492)
* Prevent hovering on tabs from causing text flicker

For some reason, geometricPrecision was causing text to flicker on
non-retina screens when hovering over the tabs

* Use a pixel ratio media query for text-rendering on retina displays
2016-08-02 12:09:54 -07:00

33 lines
700 B
HTML

<!doctype html>
<html>
<head>
<title>HyperTerm</title>
<meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1.0" />
<style>
body {
color: #fff;
}
* {
margin: 0;
padding: 0;
text-rendering: optimizeLegibility;
box-sizing: border-box;
}
@media (min-resolution: 2dppx) {
* {
text-rendering: geometricPrecision;
}
}
</style>
</head>
<body>
<div id="mount"></div>
<script>start = performance.now();</script>
<script src="dist/bundle.js"></script>
<script>console.log('total init time', performance.now() - start);</script>
</body>
</html>