fix: share buttons webkit issues and formatted description changes
This commit is contained in:
parent
7a6eb389d9
commit
a13ac674be
2 changed files with 7 additions and 7 deletions
|
|
@ -39,9 +39,9 @@ export default function Description({ text, className }: Props) {
|
||||||
<Link
|
<Link
|
||||||
key={index}
|
key={index}
|
||||||
href={`/mii/${id}`}
|
href={`/mii/${id}`}
|
||||||
className="inline-flex items-center align-top gap-1.5 pr-2 bg-amber-100 border border-amber-400 rounded-lg mx-1 text-amber-800 text-sm -mt-2"
|
className="inline-flex items-center align-bottom gap-1.5 pr-2 bg-amber-100 border border-amber-400 rounded-lg mx-1 text-amber-800 text-xs"
|
||||||
>
|
>
|
||||||
<Image src={`/mii/${id}/image?type=mii`} alt="mii" width={32} height={32} className="bg-white rounded-lg border-r border-amber-400" />
|
<Image src={`/mii/${id}/image?type=mii`} alt="mii" width={24} height={24} className="bg-white rounded-lg border-r border-amber-400" />
|
||||||
{linkedMii.name}
|
{linkedMii.name}
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
|
|
@ -61,12 +61,12 @@ export default function Description({ text, className }: Props) {
|
||||||
<Link
|
<Link
|
||||||
key={index}
|
key={index}
|
||||||
href={`/profile/${id}`}
|
href={`/profile/${id}`}
|
||||||
className="inline-flex items-center align-top gap-1.5 pr-2 bg-orange-100 border border-orange-400 rounded-lg mx-1 text-orange-800 text-sm -mt-2"
|
className="inline-flex items-center align-bottom gap-1.5 pr-2 bg-orange-100 border border-orange-400 rounded-lg mx-1 text-orange-800 text-xs"
|
||||||
>
|
>
|
||||||
<ProfilePicture
|
<ProfilePicture
|
||||||
src={linkedProfile.image || "/guest.webp"}
|
src={linkedProfile.image || "/guest.webp"}
|
||||||
width={32}
|
width={24}
|
||||||
height={32}
|
height={24}
|
||||||
className="bg-white rounded-lg border-r border-orange-400"
|
className="bg-white rounded-lg border-r border-orange-400"
|
||||||
/>
|
/>
|
||||||
{linkedProfile.name}
|
{linkedProfile.name}
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ export default function ShareMiiButton({ miiId }: Props) {
|
||||||
{/* Save button */}
|
{/* Save button */}
|
||||||
<a
|
<a
|
||||||
href={`/mii/${miiId}/image?type=metadata`}
|
href={`/mii/${miiId}/image?type=metadata`}
|
||||||
className="pill button p-0! aspect-square cursor-pointer text-xl"
|
className="pill button p-0! aspect-square size-11 cursor-pointer text-xl"
|
||||||
aria-label="Save Image"
|
aria-label="Save Image"
|
||||||
data-tooltip="Save Image"
|
data-tooltip="Save Image"
|
||||||
download={"hello.png"}
|
download={"hello.png"}
|
||||||
|
|
@ -149,7 +149,7 @@ export default function ShareMiiButton({ miiId }: Props) {
|
||||||
|
|
||||||
{/* Copy button */}
|
{/* Copy button */}
|
||||||
<button
|
<button
|
||||||
className="pill button p-0! aspect-square cursor-pointer"
|
className="pill button p-0! aspect-square size-11 cursor-pointer"
|
||||||
aria-label="Copy Image"
|
aria-label="Copy Image"
|
||||||
data-tooltip={hasCopiedImage ? "Copied!" : "Copy Image"}
|
data-tooltip={hasCopiedImage ? "Copied!" : "Copy Image"}
|
||||||
onClick={handleCopyImage}
|
onClick={handleCopyImage}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue