Compare commits

..

No commits in common. "ffadcf2b1085cacaa665667b8b36b2159e488d59" and "30b89e2fc4ad67bff79162a0c42e9a9389072019" have entirely different histories.

2 changed files with 3 additions and 37 deletions

View file

@ -144,38 +144,6 @@ body {
font-size: 1.3rem; font-size: 1.3rem;
} }
/* Compensation table: drop Role (it mostly restates Title) and wrap
Title so the pay columns sit about one swipe away. */
#comp-table [data-dash-column="canonical_role"] {
display: none;
}
#comp-table td[data-dash-column="title"],
#comp-table th[data-dash-column="title"] {
min-width: 140px !important;
max-width: 140px !important;
width: 140px !important;
}
#comp-table td[data-dash-column="title"] .dash-cell-value {
white-space: normal !important;
overflow-wrap: anywhere;
}
/* Scroll hint: fade the right edge of every data table's visible area.
A mask is fixed to the box, not the scrolled content, so the fade
stays at the screen edge while swiping. Extra padding after the last
column means the fade covers empty space once scrolled to the end. */
.dash-spreadsheet-container {
-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent);
mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent);
}
.dash-spreadsheet-container td:last-child,
.dash-spreadsheet-container th:last-child {
padding-right: 40px !important;
}
/* Charts are view-only on phones; the toolbar overlaps titles. */ /* Charts are view-only on phones; the toolbar overlaps titles. */
.modebar-container { .modebar-container {
display: none; display: none;
@ -183,10 +151,8 @@ body {
} }
/* Markdown tables (About page) scroll within themselves instead of /* Markdown tables (About page) scroll within themselves instead of
widening the page. Scoped to .about: applied to a DataTable's inner widening the page. */
<table>, it hijacks the table's own scroll container and breaks .tab-content table {
horizontal swiping on mobile. */
.about table {
display: block; display: block;
overflow-x: auto; overflow-x: auto;
max-width: 100%; max-width: 100%;

View file

@ -99,4 +99,4 @@ employees only (FTPT=2).
This project is released under the MIT License. This project is released under the MIT License.
"""), """),
], className="about", style={"maxWidth": "900px", "margin": "0 auto", "lineHeight": "1.6"}) ], style={"maxWidth": "900px", "margin": "0 auto", "lineHeight": "1.6"})