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

wrong style #31

Closed
faultaddr opened this issue May 18, 2020 · 3 comments
Closed

wrong style #31

faultaddr opened this issue May 18, 2020 · 3 comments

Comments

@faultaddr
Copy link

image

@Sphinxxxx
Copy link
Owner

Hello! That's strange. The input and button simply use the browser's "default" font size (1rem). Could you make a demo where this happens? (JSFiddle/CodePen)

@faultaddr
Copy link
Author

Hello! That's strange. The input and button simply use the browser's "default" font size (1rem). Could you make a demo where this happens? (JSFiddle/CodePen)

I have solved this problem ,but I have no idea why it became like that, when i define the style forcibly as follow

.layout_default {

  $width-gutter: 1em;
  $width-slider: 2em;
  
  
  &.picker_wrapper {
      display: flex;
      flex-flow: row wrap;
      justify-content: space-between;
      align-items: stretch;
      
      font-size: 10px;
      width: 25em;
      input, button {
          font-size: 0.1rem!important;
      }   
  }
}

just provide some guides for poor guys looking for solution like me in the future.

Best wishes!

@Sphinxxxx
Copy link
Owner

Then it looks like you have some other CSS that sets a really large font size on the html element?

For example:

html {
    font-size: 100px;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants