Merge pull request #1159 from frappe/mergify/bp/main-hotfix/pr-1158

fix: reject button is rotated (backport #1158)
This commit is contained in:
Shariq Ansari 2025-08-19 11:13:58 +05:30 committed by GitHub
commit 4c809a9166
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,10 +72,13 @@
theme="red"
:label="__('Cancel')"
@click="cancelCall"
class="rounded-lg rotate-[135deg] text-ink-white"
class="rounded-lg text-ink-white"
:disabled="callStatus == 'initiating'"
:iconLeft="PhoneIcon"
/>
>
<template #prefix>
<PhoneIcon class="rotate-[135deg]" />
</template>
</Button>
</div>
<div v-else class="flex gap-2">
<Button
@ -92,10 +95,13 @@
variant="solid"
theme="red"
:label="__('Reject')"
class="rounded-lg rotate-[135deg] text-ink-white"
:iconLeft="PhoneIcon"
class="rounded-lg text-ink-white"
@click="rejectIncomingCall"
/>
>
<template #prefix>
<PhoneIcon class="rotate-[135deg]" />
</template>
</Button>
</div>
</div>
</div>