Once CSS is written on the Dashboard CSS feature, it should remain persistent.
The CSS once applied reflects on the dashboard for the current session. In the subsequent login the CSS script disappears. The number of sessions are arbitrary. Sometimes it happens after one session, sometimes after several.
Before

After

.grid-container{
margin: 18px;
}
.dashboard-header {
display: none;
}
0.373.6.9Make sure these boxes are checked before submitting your issue - thank you!
Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.99. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
馃檹 @rusackas
I think this has already been fixed. I had the issue a couple of months ago, but it's no longer a problem for me.
I think this is related to https://github.com/apache/incubator-superset/issues/10655
I also facing the same problem. What is the solution for this?
Some members of the community are working on a refactor of the related code, there are a number of related data handling issues. We do not have an ETA for completion or release, but the problem is being actively worked on.
Same issue here, 0.37.2
update : appears as fixed for me in 0.38.0, not tested all use cases yet but edit / add css / does persist things
I noticed when the CSS gets erased. It's not session based but rather caused by editing an existing dashboard.
If you build a dashboard, add CSS then save. The CSS stays for good.
If you edit a dashboard that has some CSS; on saving it erases all the CSS.
Most helpful comment
Some members of the community are working on a refactor of the related code, there are a number of related data handling issues. We do not have an ETA for completion or release, but the problem is being actively worked on.