mirror of https://github.com/zulip/zulip.git
c0a6038a95
While it's sometimes nice to put a few selectors on the same line, it is generally better to have a consistent way of formatting our selectors, and most of our code up until now lists them vertically. This change fixes the linter to enforce one selector per line, and it cleans up the places in the CSS where we had multiple selectors on the same line. The advantages of one-per-line are as followers: * cleaner diffs * easier to see when multiple areas of the app may have the same format * less likely to go over 80 cols * makes it more clear where we have deep nesting in the individual selectors * makes it easier for our linting tools to enforce whitespace violations This also fixed an old bug where we had ".landing_page h2, h4", which sets "h4" styles outside of the landing page. |
||
---|---|---|
.. | ||
__init__.py | ||
api_tests.py | ||
capitalization.py | ||
css_parser.py | ||
find_add_class.py | ||
graph.py | ||
html_branches.py | ||
html_grep.py | ||
pretty_print.py | ||
provision.py | ||
sanity_check.py | ||
template_parser.py | ||
test_script.py | ||
test_server.py |