fix: prevent .num display:inline-block from breaking table-cell layout
This commit is contained in:
parent
1845ba14b5
commit
27dead2936
2 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@
|
|||
}
|
||||
*{box-sizing:border-box;margin:0;padding:0;font-family:'Vazirmatn',system-ui,sans-serif;}
|
||||
body{background:var(--bg);color:var(--tx);line-height:1.6;padding-bottom:80px;}
|
||||
.num{font-feature-settings:"tnum";direction:ltr;display:inline-block;}
|
||||
.num{font-feature-settings:"tnum";direction:ltr;unicode-bidi:embed;} span.num{display:inline-block;} td.num{text-align:right;}
|
||||
.hdr{background:var(--sur);border-bottom:1px solid var(--bd);padding:14px 28px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;position:sticky;top:0;z-index:200;box-shadow:var(--s1);}
|
||||
.hdr h1{font-size:17px;font-weight:800;display:flex;align-items:center;gap:8px;}
|
||||
.hdr p{font-size:11px;color:var(--mu);margin-top:2px;}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
}
|
||||
*{box-sizing:border-box;margin:0;padding:0;font-family:'Vazirmatn',system-ui,sans-serif;}
|
||||
body{background:var(--bg);color:var(--tx);line-height:1.6;padding-bottom:80px;}
|
||||
.num{font-feature-settings:"tnum";direction:ltr;display:inline-block;}
|
||||
.num{font-feature-settings:"tnum";direction:ltr;unicode-bidi:embed;} span.num{display:inline-block;} td.num{text-align:right;}
|
||||
.hdr{background:var(--sur);border-bottom:1px solid var(--bd);padding:14px 28px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;position:sticky;top:0;z-index:200;box-shadow:var(--s1);}
|
||||
.hdr h1{font-size:17px;font-weight:800;display:flex;align-items:center;gap:8px;}
|
||||
.hdr p{font-size:11px;color:var(--mu);margin-top:2px;}
|
||||
|
|
|
|||
Loading…
Reference in a new issue