Skip to content
Snippets Groups Projects
Commit c34f3b95 authored by lfr20's avatar lfr20
Browse files

Remove text decoration from Link

parent 1939ca01
No related branches found
No related tags found
2 merge requests!57Merge of develop into master,!56Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...
......@@ -72,7 +72,7 @@ export default function MaterialCard(props) {
<CardActions style={{ borderTop: "1px solid #e5e5e5", justifyContent: "center" }}>
{
width <= 767 ?
<StyledLink to={`/colecao?colecao=${props.id}`}>
<Link style={{textDecoration : "none"}} to={`/colecao?colecao=${props.id}`}>
<Button
color="secondary"
endIcon={<ExpandMoreRoundedIcon />}
......@@ -80,7 +80,7 @@ export default function MaterialCard(props) {
Ver módulos
</Button>
</StyledLink>
</Link>
:
<Button
color="secondary"
......@@ -110,8 +110,4 @@ const Title = styled(Typography)`
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
`
const StyledLink = styled(Link)`
text-decoration: none ;
color: inherit ;
`
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment