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
zequnyu opened this issue Sep 11, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@zequnyu
Copy link

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

This comment has been minimized.

Copy link
Collaborator

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
You can’t perform that action at this time.