Fix project page menu opening off-screen with right sidebar (#1565)

This commit is contained in:
Prospector
2024-01-11 16:11:39 -08:00
committed by GitHub
parent 9add661a5b
commit f534e4ee37

View File

@@ -330,7 +330,7 @@
},
{ id: 'copy-id', action: () => copyId() },
]"
direction="right"
:direction="cosmetics.projectLayout ? 'left' : 'right'"
>
<MoreHorizontalIcon />
<template #report> <ReportIcon /> Report</template>
@@ -338,15 +338,14 @@
</OverflowMenu>
</template>
<template v-else>
<nuxt-link class="iconified-button" to="/auth/sign-in">
<ReportIcon aria-hidden="true" />
Report
</nuxt-link>
<nuxt-link class="iconified-button" to="/auth/sign-in">
<HeartIcon aria-hidden="true" />
Follow
</nuxt-link>
<nuxt-link class="iconified-button" to="/auth/sign-in">
<BookmarkIcon aria-hidden="true" />
Save
</nuxt-link>
<OverflowMenu
class="btn icon-only"
:options="[
@@ -358,7 +357,7 @@
},
{ id: 'copy-id', action: () => copyId() },
]"
direction="right"
:direction="cosmetics.projectLayout ? 'left' : 'right'"
>
<MoreHorizontalIcon />
<template #report> <ReportIcon /> Report</template>