Skip to content

Commit

Permalink
fix: Messenger overlap on proposal (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR authored Apr 10, 2024
1 parent 5e6b27f commit 61d32c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/ui/src/helpers/intercom.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const APP_ID = import.meta.env.VITE_INTERCOM_APP_ID;

export function startIntercom() {
if (!APP_ID || document.body.clientWidth < 544) return;
if (!APP_ID || document.body.clientWidth < 768) return;

const w: any = window;
w.intercomSettings = {
Expand Down
2 changes: 1 addition & 1 deletion apps/ui/src/views/Proposal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ watchEffect(() => {
<router-view :proposal="proposal" />
</div>
<div
class="static md:fixed md:top-[72px] md:right-0 w-full md:h-[calc(100vh-72px)] md:max-w-[340px] p-4 border-l-0 md:border-l space-y-4 no-scrollbar overflow-y-scroll"
class="static md:fixed md:top-[72px] md:right-0 w-full md:h-[calc(100vh-72px)] md:max-w-[340px] p-4 md:pb-[88px] border-l-0 md:border-l space-y-4 no-scrollbar overflow-y-scroll"
>
<div v-if="!proposal.cancelled && ['pending', 'active'].includes(proposal.state)">
<h4 class="mb-2 eyebrow flex items-center">
Expand Down

0 comments on commit 61d32c3

Please sign in to comment.