feat: add draggable feature to ribbon menu

This commit is contained in:
Lykin 2023-12-06 18:52:33 +08:00
parent d59221f11e
commit d4d1c33cb3
1 changed files with 3 additions and 0 deletions

View File

@ -157,6 +157,7 @@ const exThemeVars = computed(() => {
background-color: v-bind('exThemeVars.ribbonColor'); background-color: v-bind('exThemeVars.ribbonColor');
box-sizing: border-box; box-sizing: border-box;
color: v-bind('themeVars.textColor2'); color: v-bind('themeVars.textColor2');
--wails-draggable: drag;
.ribbon-wrapper { .ribbon-wrapper {
gap: 2px; gap: 2px;
@ -165,6 +166,7 @@ const exThemeVars = computed(() => {
align-items: center; align-items: center;
box-sizing: border-box; box-sizing: border-box;
padding-right: 3px; padding-right: 3px;
--wails-draggable: none;
.ribbon-item { .ribbon-item {
width: 100%; width: 100%;
@ -219,6 +221,7 @@ const exThemeVars = computed(() => {
align-items: center; align-items: center;
padding: 10px 0; padding: 10px 0;
gap: 15px; gap: 15px;
--wails-draggable: none;
.nav-menu-button { .nav-menu-button {
margin-bottom: 6px; margin-bottom: 6px;