Fix project page menu opening off-screen with right sidebar (#1565)
This commit is contained in:
parent
9add661a5b
commit
f534e4ee37
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user