Enhance modal functionality with ModalContainer component; update ShareModal to use ModalWrapper; improve responsive text sizes in index.css; integrate FloatingActionButton in HomePage for popup sharing.
This commit is contained in:
@@ -20,7 +20,7 @@ export default function LinkShare({ link }: { link: string }) {
|
||||
return (
|
||||
<div className="w-full h-[3.75vw] bg-[#F3F3F3] flex items-center justify-between gap-[0.833vw] px-[1.111vw] rounded-[1.111vw] relative">
|
||||
<span
|
||||
className="text-ellipsis overflow-hidden text-s hover:cursor-pointer"
|
||||
className="text-ellipsis text-s hover:cursor-pointer overflow-hidden"
|
||||
onClick={handleCopy}
|
||||
>
|
||||
{link}
|
||||
@@ -30,7 +30,7 @@ export default function LinkShare({ link }: { link: string }) {
|
||||
<Button
|
||||
variant="cta"
|
||||
size="medium"
|
||||
className="h-[2.778vw] translate-x-[0.556vw]"
|
||||
className="translate-x-[0.556vw]"
|
||||
onClick={handleCopy}
|
||||
>
|
||||
Копировать
|
||||
|
||||
Reference in New Issue
Block a user