Tiny Tiny RSS: Community

CSS in themes should not use `! important`


On TT-RSS v18.12, I’m using the compact theme and the following custom CSS stylesheet:

.content-inner {
  max-width: 800px ! important;
  font-size: 13px ! important;

However, while the max-width directive works, the font-size does not. This is due to this line in compact.less:

    font-size : 12px ! important;

Would it be possible to avoid using ! important in themes? It makes it harder to use custom stylesheets.


Could you not use a more specific selector?


nobody is forcing you to use the theme, compact.css is like 3 lines of code, just make your own if you plan on customizing it anyway