mirror of
https://github.com/usememos/memos.git
synced 2025-04-13 09:02:09 +02:00
chore: fix user banner dropdown
This commit is contained in:
parent
5b92ac1775
commit
db56e1b575
@ -95,7 +95,7 @@ const MemoView: React.FC<Props> = (props: Props) => {
|
|||||||
)}
|
)}
|
||||||
ref={memoContainerRef}
|
ref={memoContainerRef}
|
||||||
>
|
>
|
||||||
<div className="w-full flex flex-row justify-between items-center mb-1">
|
<div className="w-full h-7 flex flex-row justify-between items-center mb-1">
|
||||||
<div className="w-auto flex flex-row justify-start items-center mr-1">
|
<div className="w-auto flex flex-row justify-start items-center mr-1">
|
||||||
{props.showCreator && creator && (
|
{props.showCreator && creator && (
|
||||||
<>
|
<>
|
||||||
|
@ -28,7 +28,7 @@ const UserBanner = (props: Props) => {
|
|||||||
return (
|
return (
|
||||||
<div className="relative w-auto h-auto px-1 shrink-0">
|
<div className="relative w-auto h-auto px-1 shrink-0">
|
||||||
<Dropdown>
|
<Dropdown>
|
||||||
<MenuButton slots={{ root: "div" }}>
|
<MenuButton disabled={!user} slots={{ root: "div" }}>
|
||||||
<div
|
<div
|
||||||
className={classNames(
|
className={classNames(
|
||||||
"py-1 my-1 w-auto flex flex-row justify-start items-center cursor-pointer rounded-2xl border border-transparent text-gray-800 dark:text-gray-300",
|
"py-1 my-1 w-auto flex flex-row justify-start items-center cursor-pointer rounded-2xl border border-transparent text-gray-800 dark:text-gray-300",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user