fix issue introduced by pre commit

This commit is contained in:
Xen 2020-06-27 11:56:16 +08:00
parent d19ab3de06
commit efd1526b4c
2 changed files with 3 additions and 4 deletions

View File

@ -43,14 +43,13 @@ nav {
}
/* refer: https://github.com/electron/electron/issues/3022#issuecomment-543146976 */
.titlebar-drag-region {
/*added*/
.nav-drag-region {
top: 6px;
left: 6px;
display: block;
position: absolute;
width: calc(100% - 12px);
height: calc(100% - 6px);
height: 24px;
z-index: -1;
-webkit-app-region: drag;
}

View File

@ -11,7 +11,7 @@
<body>
<nav class="z-depth-0" id="nav-area">
<div class="titlebar-drag-region"></div>
<div class="nav-drag-region"></div>
<div class="nav-wrapper" id="header">
<i class="material-icons left" id="logo">vpn_key</i>