-
Notifications
You must be signed in to change notification settings - Fork 754
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
alignChar CSS changes table row height #1713
Comments
Hi @jcwren! Remove the .ts-align-wrap,
.ts-align-left,
.ts-align-right {
display: inline-block;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
} I think having the wrapper set to |
Eliminating it completely fixed the row spacing, but broke the alignment. Poking at it a little more, it seems that removing the
|
Demo has been updated! Thanks! |
I had a table that was configured exactly as I want it (first image). When I added the Align Character Widget, it did indeed align the SNR column on the decimal point as desired, but it added space to the bottom of the row (second image). I'm no CSS expert (by a long shot!) and even after poking at this for a couple hours, I can't figure out how to get the rows back to the original height.
In my experiments, I found that commenting out the
display: inline-block
in the.ts-align-wrap, .ts-align-left, .ts-align-right
CSS would get the rows back to the correct height, but (not surprisingly) the decimals were no longer aligned.This is under Chrome Version 80.0.3987.116 (Official Build) (64-bit). It does the same thing on the Mac verson. Can someone provide advice on how to correct this (if it's CSS related, please use simple words :) ).
This is the HTML from one of the SNR column entries.
The text was updated successfully, but these errors were encountered: