Narrow Measurements Chart for FreeSewing by wac

Details
Authorwac
LicenseMIT License
Created
Updated
Categoryfreesewing
Statistics
Learn how we calculate statistics in the FAQ.
Total views
Total installs
Weekly installs
Weekly updates
Description
Removes some columns from the measurements chart on FreeSewing.org to make the chart easier to read on narrow screens.
Notes
Currently using the :nth-child way of selecting columns, so if FreeSewing ever changes the order of the columns, this might break and I would need to update it.
Source code
/* ==UserStyle==
@name Narrow Measurements Chart for FreeSewing
@version 20220126.01.43
@namespace userstyles.world/user/wac
@description Removes some columns from the measurements chart on FreeSewing.org to make the chart easier to read on narrow screens.
@author wac
@license MIT License
==/UserStyle== */
@-moz-document regexp("https:\\/\\/freesewing\\.org\\/account\\/people\\/.*\\/measurements\\/") {
@media only screen and (max-width: 650px) {
tr td:nth-of-type(2),
tr th:nth-of-type(2),
tr td:nth-of-type(4),
tr th:nth-of-type(4) {
display: none;
}
tr td:first-of-type {
overflow: visible !important;
text-align: left !important;
}
tr td:nth-of-type(3),
tr th {
text-align: center !important;
}
}
}