User:AHollender (WMF)/sandbox/wide tables.css

Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
.overflow-wrapper {
	overflow: auto;
    width: 960px;
    max-height: 94vh;
}

.overflow-wrapper::-webkit-scrollbar { -webkit-appearance: none; }
.overflow-wrapper::-webkit-scrollbar:vertical { width: 11px; }
.overflow-wrapper::-webkit-scrollbar:horizontal { height: 11px; }
.overflow-wrapper::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white; /* should match background, can't be transparent */
    background-color: rgba(0, 0, 0, .40);
}

.table {
	height: fit-content;
}

.overflow-wrapper:after {
	content: ' ';
    position: absolute;
    bottom: 0;
    width: 10px;
    height: 100%;
    background-color: transparent;
    pointer-events: none;
    background-image: linear-gradient(to right,rgba(255,255,255,0),#ffffff 50%);
}