-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
bugfix: fix to cell value vertical-align in tables #5793
base: development
Are you sure you want to change the base?
Conversation
I think I would prefer it to specify what we want there. Cause maybe whatever we inherit changes later? |
Ok, I am on a weird arch linux setup here and cannot make screenshots but exponents are still not aligned with other numbers... |
Ah @FBartos gave me the great idea to do as the young people do: |
Maybe bottom alignment is better? |
Well, this is actually due to the fact that the cell elements with exponent and the numeric elements without indices are not the same height, a height difference of 1-2 pixels by auto adjusted. |
I also adjusted latex img vertical align in tables, test case in jaspTestModule-> test jaspHtml. |
Fix: https://github.com/jasp-stats/INTERNAL-jasp/issues/2794
Not sure why we set to 'top', the browser user agent stylesheet auto set to middle/inherit by default so we just remove it.
Or we can specify it to be fixed to center alignment, any preference?
Note: Maybe the unit test .jasp files also need to be updated because the CSS style string will be changed.