1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Apply proportional-nums for wiki text and tabular-nums for table.list (#41321).

git-svn-id: https://svn.redmine.org/redmine/trunk@23130 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2024-10-16 11:32:17 +00:00
parent 0c397aa960
commit 2fc17b76c2

View File

@ -288,6 +288,7 @@ div + .drdn-items {border-top:1px solid #ccc;}
/***** Tables *****/
table.list, .table-list {
font-size: 0.8125rem;
font-variant-numeric: tabular-nums;
border-top: 1px solid #d0d7de;
border-bottom: 1px solid #d0d7de;
border-collapse: collapse;
@ -1406,6 +1407,13 @@ button.tab-left.disabled, button.tab-right.disabled {
}
/***** Wiki *****/
div.wiki {
font-variant-numeric: proportional-nums;
& table, & pre, & code, & ol>li::marker {
font-variant-numeric: tabular-nums;
}
}
div.wiki table {
border-collapse: collapse;
margin-bottom: 1em;