Skip to content
This repository was archived by the owner on Aug 27, 2024. It is now read-only.

Commit 5afbd8c

Browse files
committed
Make title bar draggable for window
1 parent b39b830 commit 5afbd8c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

style.css

+9
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,13 @@ webview {
4545
}
4646

4747
.title-bar {
48+
-webkit-app-region: drag;
49+
position: absolute;
50+
display: block;
51+
height: 34px;
52+
width: 100%;
53+
top: 0;
54+
z-index: 999999;
55+
background: #fff;
56+
opacity: 0.8;
4857
}

0 commit comments

Comments
 (0)