The issue
I added some code to Custom CSS in Admin Dashboard, the origin CSS code is:
background: padding-box linear-gradient(var(--button-bg), var(--button-bg)), border-box linear-gradient(#ffffff40 90%, #00000040 100%), border-box var(--button-bg);
Then in frontend it turns into:
background: padding-box linear-gradient(var(--button-bg), var(--button-bg)), border-box linear-gradient(#fff 40 90%, #000 40 100%), border-box var(--button-bg);
It's corrupted. I think the Less preprocessor may causes this problem.
Flarum information
But is that useful?
Flarum core: 1.8.1
PHP version: 8.2.8
MySQL version: 8.0.11
Sorry for forgetting type a correct title😞