mirror of
https://github.com/purocean/yn.git
synced 2026-10-16 07:26:07 +08:00
feat: make sidebar title bar draggable
This commit is contained in:
@@ -122,6 +122,8 @@ onBeforeUnmount(() => {
|
||||
align-items: center;
|
||||
position: relative;
|
||||
padding: 0 3px;
|
||||
-webkit-app-region: drag;
|
||||
app-region: drag;
|
||||
|
||||
& > .title {
|
||||
position: absolute;
|
||||
@@ -141,6 +143,8 @@ onBeforeUnmount(() => {
|
||||
|
||||
& > .btns {
|
||||
background: var(--g-color-98);
|
||||
-webkit-app-region: no-drag;
|
||||
app-region: no-drag;
|
||||
}
|
||||
|
||||
.btn {
|
||||
|
||||
Reference in New Issue
Block a user