2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 11:29:03 +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> <template>
<div <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' }" :class="{ 'window-drag': platform !== 'Windows' }"
> >
<!-- Setup Wizard Slide --> <!-- Setup Wizard Slide -->
@ -8,6 +8,7 @@
:primary-disabled="!valuesFilled || loading" :primary-disabled="!valuesFilled || loading"
@primary-clicked="handlePrimary" @primary-clicked="handlePrimary"
@secondary-clicked="handleSecondary" @secondary-clicked="handleSecondary"
:class="{ 'window-no-drag': platform !== 'Windows' }"
> >
<template #title> <template #title>
{{ t`Setup your organization` }} {{ t`Setup your organization` }}

View File

@ -9,13 +9,13 @@
<hr /> <hr />
<!-- Slide Content --> <!-- Slide Content -->
<div class="window-no-drag"> <div>
<slot name="content"></slot> <slot name="content"></slot>
</div> </div>
<!-- Slide Buttons --> <!-- Slide Buttons -->
<div <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%)" style="top: 100%; transform: translateY(-100%)"
> >
<Button <Button