diff --git a/src/Components/PublicationPermissionsContent.js b/src/Components/PublicationPermissionsContent.js index ddccba30f8c1ec5f98349ae1e9589c2a90554dca..1159d667ac2d542368d96b490db2cc10441f3156 100644 --- a/src/Components/PublicationPermissionsContent.js +++ b/src/Components/PublicationPermissionsContent.js @@ -66,7 +66,7 @@ export default function PublicationPermissionsContent (props) { { questionsArr.map((question, index) => - question.id !== 4 && + (question.status === 'active' && question.id !== 4) && <React.Fragment key={question.id}> <Grid item xs={10}> <p>{question.description}</p> diff --git a/src/Pages/TermsPage.js b/src/Pages/TermsPage.js index 4f50cd4611c2a061c0db847ac0aa6a9052897666..aaa58528781f305e067490c2ba119a5bd76dd9ce 100644 --- a/src/Pages/TermsPage.js +++ b/src/Pages/TermsPage.js @@ -204,6 +204,15 @@ const StyledAppBarContainer = styled.div` .botoes { display : flex; align-items : center; + @media screen and (max-width: 768px) { + justify-content : center !important; + } + } + + .MuiFormControlLabel-root { + @media screen and (max-width: 768px) { + margin-left : 0 !important; + } } } ` diff --git a/src/Pages/UserPage.js b/src/Pages/UserPage.js index 0b23114055d5b8144e7fe400aefd67d7bf87d015..6882eb50f7ef17bb2f96af0732efd52f33371e4a 100644 --- a/src/Pages/UserPage.js +++ b/src/Pages/UserPage.js @@ -175,7 +175,7 @@ export default function UserPage(props) { direction="row" > <Grid item> - <Typography variant="h6"> + <Typography variant="h6" onClick={(e)=>{handleChangeTab(e, 4)}}> {loading ? ( <CircularProgress size={20} /> ) : ( @@ -184,7 +184,7 @@ export default function UserPage(props) { </Typography> </Grid> <Grid item> - <Typography variant="h6"> + <Typography variant="h6" onClick={(e)=>{handleChangeTab(e, 4)}}> {loading ? ( <CircularProgress size={20} /> ) : (