Using Screen when converting from CSS_PATH to DEFAULT_CSS for App #2541
-
This might be a bug. I have a Screen {
layout: grid;
grid-size: 2;
grid-columns: 1fr 2fr;
} It uses
I'd like to inline it with However that doesn't work, no error, the CSS just isn't applied (no User error, or bug? 🤔 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Sorry but just to confirm: you're not trying to use |
Beta Was this translation helpful? Give feedback.
-
If you are moving external stylesheets inline, you should probably use the classvar |
Beta Was this translation helpful? Give feedback.
DEFAULT_CSS
has a lower specificity, so that external CSS always wins when rules clash.If you are moving external stylesheets inline, you should probably use the classvar
CSS
on your App, which has the same specificity as external files.