ufal / charles-translator-web-frontend

Charles Translator: MT from Charles University
6 stars 7 forks source link

Fixed appbar red to gray #54

Closed Jirka-Mayer closed 1 year ago

Jirka-Mayer commented 1 year ago

I styled the AppBar with a CSS selector that had the same specificity as some other MUI selector. The problem was that Next.js ordered the generated source code differently in development and in production. So my CSS was not used in production (was overriden by the MUI defaults), but seemd to work fine in development (it had precedence here).

It should now always look like this: image