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

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

View File

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