-
Notifications
You must be signed in to change notification settings - Fork 0
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
Decide approach for style sheets - migrate styling #19
Comments
Classes are being rendered differently from within dhis2 (dev-tom.datim) This is causing the display to vary wildly when on dhis2 server (see e.g. #27 (comment)) Need to investigate/fix. Maybe adding MUI wrapper will be sufficient, or maybe need to move away from styling with @material-ui/styles hooks (https://material-ui.com/styles/basics/) |
@benguaraldi @jakub-bao: I redid the styling by using vanilla in-line styling on the components rather than trying to use Material-UI's makeStyles...it seems to achieve the same thing, and be roughly similar in terms of where the styling lives, but it doesn't result in problems when loaded in an actual DHIS2 instance as far as I can see. I've put this on |
@tomzemp Much better! Thank you for tracking that down! Sorry that it was super-annoying. I don't know if these are easy fixes or if you want additional tickets for them, but two things:
I'm fine with postponing those both to after the MVP |
@benguaraldi: updated the column widths Changing the scroll is unfortunately difficult so far as I can tell :-( |
@tomzemp Column widths look great! I'll make another ticket about the scroll bar. It does look difficult. I'm noticing that the table and several other divs have Note that the scroll bar is almost completely on the left—there's thousands of pixels of whitespace to the right. Are you seeing that? Is it easy to fix? |
Thanks for noticing that @benguaraldi! I guess I was just looking at the first couple of columns. |
This issue has been completed; scroll bar mentioned in comments is on separate issue: |
Decide approach (e.g. scss, stylable) for handling styling and remove existing-in line syling out of components
The text was updated successfully, but these errors were encountered: