Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Footer CSS bug in mobile display #12

Closed
4 tasks done
zequnyu opened this issue Sep 11, 2018 · 1 comment
Closed
4 tasks done

Footer CSS bug in mobile display #12

zequnyu opened this issue Sep 11, 2018 · 1 comment
Labels

Comments

@zequnyu
Copy link

@zequnyu zequnyu commented Sep 11, 2018

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository (for multi-repository projects)

In the demo of login page, the footer doesn't show correctly from mobile view.

wechatimg31

@einazare einazare added the bug label Sep 12, 2018
@einazare
Copy link
Contributor

@einazare einazare commented Sep 12, 2018

Hello again @zequnyu ,

Thank you for pointing us this issue.
To solve it go inside src/assets/jss/material-kit-pro-react/views/loginPageStyle.jsx and do the following changes:

container: {
    ...container,
    zIndex: "2",
    position: "relative",
    paddingTop: "20vh",
    color: "#FFFFFF"
  },

should be changed to

container: {
    ...container,
    zIndex: "4",
    [theme.breakpoints.down("sm")]: {
      paddingBottom: "100px"
    }
  },
pageHeader: {
    minHeight: "100vh",
    maxHeight: "1000px",
    height: "auto",
    display: "inherit",
    position: "relative",
    margin: "0",
    padding: "0",
    border: "0",
    alignItems: "center",

should be changed to

pageHeader: {
    color: "#fff",
    border: "0",
    height: "100%",
    margin: "0",
    display: "flex!important",
    padding: "120px 0",
    position: "relative",
    maxHeight: "1000px",
    minHeight: "100vh",
    alignItems: "center",
const signupPageStyle = {

should be

const signupPageStyle = theme => ({

and

};

export default signupPageStyle;

should be

});

export default signupPageStyle;

Hope this info helps you.

Best,
Manu

@einazare einazare closed this Oct 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants