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

bugfix: fix to cell value vertical-align in tables #5793

Open
wants to merge 4 commits into
base: development
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
try this one
  • Loading branch information
shun2wang authored Feb 21, 2025
commit 3f6be1f6ad71f3c4843339c2a22a782f89dc411d
16 changes: 16 additions & 0 deletions Desktop/html/css/jasp.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,22 @@ td.symbol {
padding-left: 0 ;
}

/* Customed superscripts and subscripts to maintain consistent vertical alignment and line height */
td sub, td sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}

td sup {
top: -0.5em;
}

td sub {
bottom: -0.25em;
}

td {
text-align: right ;
vertical-align: middle ;
Expand Down