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

fixed request and responsiveness

parent e3f0993d
Branches
Tags
4 merge requests!57Merge of develop into master,!56Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...,!39Update admin system,!36Fix perfil into develop
...@@ -29,9 +29,10 @@ export function ButtonsAreaRecurso (props) { ...@@ -29,9 +29,10 @@ export function ButtonsAreaRecurso (props) {
</p> </p>
{ {
props.length > 4 && props.end ?
null :
<React.Fragment> <React.Fragment>
<ButtonMostrarMaisRecurso onClick={() => {props.showMore()}}> <ButtonMostrarMaisRecurso onClick={() => props.showMore()}>
<span style={{ color: "#fff", fontSize: "14px", fontWeight: "500" }}>MOSTRAR MAIS</span> <span style={{ color: "#fff", fontSize: "14px", fontWeight: "500" }}>MOSTRAR MAIS</span>
</ButtonMostrarMaisRecurso> </ButtonMostrarMaisRecurso>
...@@ -52,8 +53,6 @@ export function ButtonsAreaColecao (props) { ...@@ -52,8 +53,6 @@ export function ButtonsAreaColecao (props) {
Carregados {props.sliceLength} de {props.length} Carregados {props.sliceLength} de {props.length}
</p> </p>
{
props.length > 4 &&
<React.Fragment> <React.Fragment>
<ButtonMostrarMaisColecao onClick={() => { props.showMore() }}> <ButtonMostrarMaisColecao onClick={() => { props.showMore() }}>
<span style={{ color: "#fff", fontSize: "14px", fontWeight: "500" }}>MOSTRAR MAIS</span> <span style={{ color: "#fff", fontSize: "14px", fontWeight: "500" }}>MOSTRAR MAIS</span>
...@@ -63,7 +62,6 @@ export function ButtonsAreaColecao (props) { ...@@ -63,7 +62,6 @@ export function ButtonsAreaColecao (props) {
<span style={{ color: "#666", fontSize: "14px", fontWeight: "500" }}>MOSTRAR TODOS</span> <span style={{ color: "#666", fontSize: "14px", fontWeight: "500" }}>MOSTRAR TODOS</span>
</ButtonMostrarTodos> </ButtonMostrarTodos>
</React.Fragment> </React.Fragment>
}
</Carregados> </Carregados>
) )
...@@ -76,8 +74,6 @@ export function ButtonsAreaRede (props) { ...@@ -76,8 +74,6 @@ export function ButtonsAreaRede (props) {
Carregados {props.sliceLength} de {props.length} Carregados {props.sliceLength} de {props.length}
</p> </p>
{
props.length > 4 &&
<React.Fragment> <React.Fragment>
<ButtonMostrarMaisRede onClick={() => { props.showMore() }}> <ButtonMostrarMaisRede onClick={() => { props.showMore() }}>
<span style={{ color: "#fff", fontSize: "14px", fontWeight: "500" }}>MOSTRAR MAIS</span> <span style={{ color: "#fff", fontSize: "14px", fontWeight: "500" }}>MOSTRAR MAIS</span>
...@@ -87,7 +83,6 @@ export function ButtonsAreaRede (props) { ...@@ -87,7 +83,6 @@ export function ButtonsAreaRede (props) {
<span style={{ color: "#666", fontSize: "14px", fontWeight: "500" }}>MOSTRAR TODOS</span> <span style={{ color: "#666", fontSize: "14px", fontWeight: "500" }}>MOSTRAR TODOS</span>
</ButtonMostrarTodos> </ButtonMostrarTodos>
</React.Fragment> </React.Fragment>
}
</Carregados> </Carregados>
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment