chore: add prettier(1st step) (#7)

Author:    hexxa <hexxa@outlook.com>
This commit is contained in:
Hexxa 2018-05-31 08:26:07 -05:00 committed by GitHub
parent ac05637658
commit 86aa39c526
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 58 additions and 51 deletions

View file

@ -12,7 +12,7 @@ import { Log } from "../components/composite/log";
function getWidth() {
if (window.innerWidth >= window.innerHeight) {
return `${Math.floor(
window.innerWidth * 0.95 / config.rootSize / config.colWidth
(window.innerWidth * 0.95) / config.rootSize / config.colWidth
) * config.colWidth}rem`;
}
return "auto";