mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: project list page icon and emoji improvement
This commit is contained in:
parent
c37264f3c8
commit
8ae1e38ef9
@ -203,7 +203,10 @@ export const ProjectCard: React.FC<Props> = observer((props) => {
|
|||||||
<div className="absolute bottom-4 z-[1] flex h-10 w-full items-center justify-between gap-3 px-4">
|
<div className="absolute bottom-4 z-[1] flex h-10 w-full items-center justify-between gap-3 px-4">
|
||||||
<div className="flex flex-grow items-center gap-2.5 truncate">
|
<div className="flex flex-grow items-center gap-2.5 truncate">
|
||||||
<div className="h-9 w-9 flex-shrink-0 grid place-items-center rounded bg-white/90">
|
<div className="h-9 w-9 flex-shrink-0 grid place-items-center rounded bg-white/90">
|
||||||
<ProjectLogo logo={project.logo_props} />
|
<ProjectLogo
|
||||||
|
logo={project.logo_props}
|
||||||
|
className={`${project.logo_props.in_use === "icon" ? "text-[18px]" : ""}`}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex w-full flex-col justify-between gap-0.5 truncate">
|
<div className="flex w-full flex-col justify-between gap-0.5 truncate">
|
||||||
|
@ -169,6 +169,7 @@ export const ProjectDetailsForm: FC<IProjectDetailsForm> = (props) => {
|
|||||||
[val?.type]: logoValue,
|
[val?.type]: logoValue,
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
|
className="flex items-center"
|
||||||
defaultIconColor={value?.in_use && value.in_use === "icon" ? value?.icon?.color : undefined}
|
defaultIconColor={value?.in_use && value.in_use === "icon" ? value?.icon?.color : undefined}
|
||||||
defaultOpen={
|
defaultOpen={
|
||||||
value.in_use && value.in_use === "emoji" ? EmojiIconPickerTypes.EMOJI : EmojiIconPickerTypes.ICON
|
value.in_use && value.in_use === "emoji" ? EmojiIconPickerTypes.EMOJI : EmojiIconPickerTypes.ICON
|
||||||
|
Loading…
Reference in New Issue
Block a user