2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 03:19:01 +00:00

fix: drag issue on Windows

This commit is contained in:
18alantom 2022-07-27 17:41:26 +05:30
parent d798e6df77
commit e76e67ceea
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<template>
<div
class="flex-1 bg-gray-25 flex justify-center items-center window-drag"
class="flex-1 bg-gray-25 flex justify-center items-center"
:class="{ 'window-drag': platform !== 'Windows' }"
>
<!-- Setup Wizard Slide -->
@ -8,6 +8,7 @@
:primary-disabled="!valuesFilled || loading"
@primary-clicked="handlePrimary"
@secondary-clicked="handleSecondary"
:class="{ 'window-no-drag': platform !== 'Windows' }"
>
<template #title>
{{ t`Setup your organization` }}

View File

@ -9,13 +9,13 @@
<hr />
<!-- Slide Content -->
<div class="window-no-drag">
<div>
<slot name="content"></slot>
</div>
<!-- Slide Buttons -->
<div
class="flex justify-between px-4 pb-4 window-no-drag absolute w-form"
class="flex justify-between px-4 pb-4 absolute w-form"
style="top: 100%; transform: translateY(-100%)"
>
<Button