fix: bold time card, tab panel position above content webview
This commit is contained in:
@@ -179,7 +179,7 @@ body {
|
|||||||
font-size is set by JS to half the card's short side */
|
font-size is set by JS to half the card's short side */
|
||||||
.time-card .h,
|
.time-card .h,
|
||||||
.time-card .m {
|
.time-card .m {
|
||||||
font-weight: 300;
|
font-weight: 600;
|
||||||
line-height: 1.05;
|
line-height: 1.05;
|
||||||
font-variant-numeric: tabular-nums;
|
font-variant-numeric: tabular-nums;
|
||||||
font-feature-settings: "tnum";
|
font-feature-settings: "tnum";
|
||||||
@@ -524,9 +524,14 @@ body {
|
|||||||
|
|
||||||
#tab-panel {
|
#tab-panel {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 56px;
|
/* 与顶栏同一行(12px),避免 top 落入内容 WebView 的 topMargin(56dp) 区域被遮挡 */
|
||||||
|
/* Same row as the topbar (12px) so it stays above the content WebView's
|
||||||
|
topMargin (56dp) and isn't covered */
|
||||||
|
top: 12px;
|
||||||
right: 16px;
|
right: 16px;
|
||||||
display: none;
|
display: none;
|
||||||
|
max-height: 120px;
|
||||||
|
overflow-y: auto;
|
||||||
min-width: 180px;
|
min-width: 180px;
|
||||||
max-width: 260px;
|
max-width: 260px;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
|
|||||||
Reference in New Issue
Block a user