Styling updates.

This commit is contained in:
Patrick Fic
2020-10-22 20:17:42 -07:00
parent 5ef32c5465
commit dc086cb5eb
10 changed files with 121 additions and 89 deletions

View File

@@ -21,3 +21,14 @@ ReactDOM.render(
</Provider>,
document.getElementById("root")
);
window.onkeydown = function (evt) {
// disable zooming
if (
(evt.code === "Minus" || evt.code === "Equal") &&
(evt.ctrlKey || evt.metaKey)
) {
console.log("Preventing zoom!");
evt.preventDefault();
}
};