Skip to content
Snippets Groups Projects
Commit 6e2eab58 authored by esrsc23's avatar esrsc23
Browse files

Issue #290: FIX Style of the share profile button

parent 9a7fb0d8
No related branches found
No related tags found
1 merge request!269Issue #290: FIX Style of the share profile button
Pipeline #41866 passed
...@@ -18,12 +18,12 @@ export default function ShareButton({ type, id }) { ...@@ -18,12 +18,12 @@ export default function ShareButton({ type, id }) {
return ( return (
<> <>
<button <button
className="p-2 text-sm rounded-xl max-md:my-3 bg-ice-HC-dark hover:bg-lightGray-HC-white hover:text-darkGray-HC-dark outline outline-1 outline-ice-HC-white text-darkGray-HC-white-underline font-bold normal-case flex justify-center items-center gap-2" className="p-2 text-sm rounded-[10px] w-48 h-11 max-md:my-3 hover:bg-darkGray-HC-white hover:text-darkGray-HC-dark outline outline-1 outline-lightGray-HC-white text-darkGray-HC-white-underline hover:text-white-HC-dark-underline font-bold normal-case flex justify-center items-center gap-2"
onClick={() => setShareOpen(true)} onClick={() => setShareOpen(true)}
aria-label="Compartilhar" aria-label="Compartilhar"
> >
<ShareOutlinedIcon fontSize="small" /> <ShareOutlinedIcon fontSize="small" />
<span className="hidden md:inline">Compartilhar</span> <span className="hidden md:inline">Compartilhar perfil</span>
</button> </button>
<ShareModal <ShareModal
open={shareOpen} open={shareOpen}
......
...@@ -51,7 +51,7 @@ export default function ShareModal({ open, onClose, title, link }) { ...@@ -51,7 +51,7 @@ export default function ShareModal({ open, onClose, title, link }) {
<Button <Button
disableElevation disableElevation
variant="outlined" variant="outlined"
className="border-darkGray-HC-white text-darkGray-HC-white-underline border text-lg normal-case flex gap-2 " className="border border-lightGray-HC-white text-darkGray-HC-white-underline hover:bg-darkGray-HC-white hover:text-white-HC-dark-underline text-lg normal-case flex gap-2 "
sx={{ justifyContent: "start" }} sx={{ justifyContent: "start" }}
onClick={() => { onClick={() => {
navigator.clipboard.writeText(link); navigator.clipboard.writeText(link);
......
...@@ -114,7 +114,7 @@ export default function GroupButton({ profileData, idLogin }) { ...@@ -114,7 +114,7 @@ export default function GroupButton({ profileData, idLogin }) {
<div className='flex flex-row gap-4 max-sm:flex-col max-sm:items-center' > <div className='flex flex-row gap-4 max-sm:flex-col max-sm:items-center' >
{idLogin == profileData["id"] ? {idLogin == profileData["id"] ?
<button <button
className={`text-[16px] rounded-[10px] normal-case h-10 font-bold w-48 text-white-HC-dark-underline hover:text-white bg-turquoise-HC-white hover:bg-darkTurquoise-HC-dark outline outline-1 outline-ice-HC-white `} className={`text-[16px] rounded-[10px] normal-case h-11 font-bold w-44 text-white-HC-dark-underline hover:text-white bg-turquoise-HC-white hover:bg-darkTurquoise-HC-dark outline outline-1 outline-ice-HC-white `}
alt="Editar meu perfil" alt="Editar meu perfil"
onClick={() => router.push(`/editar/${idLogin}`)} onClick={() => router.push(`/editar/${idLogin}`)}
> >
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment