-
Notifications
You must be signed in to change notification settings - Fork 14.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: saving custom CSS correctly from dashboard editor #10289
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! thanks!
When editing a dashboard and applying a custom css template, the change is not saved when pressing 'save changes' . You need to explicitly select 'Save As' + 'Overwrite' to keep the css change. Is this expected behavior? |
Hello, Altough it save the changes, when closing the dashboard and reopening it, it doesn't charge the custom CSS. It is happening to anyone? |
@rusackas @junlincc If I inspect the page, it is like if the css template were overwrited by the default css. Do you have any clue of what can be happening? |
I haven't tried to replicate this exactly, but my guess would be that your CSS selector, and the one built into the |
@rusackas I'll try your advice. Also I'll check if I can find a way for loading the custom css first, if I find some solution I'll let you know. |
SUMMARY
A fix was made to the
save as
modal that wasn't applied to the method called by thesave as
button after editing the custom CSS. This fixes the parameter name (which was changed to avoid a collision with Emotion props).BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
ADDITIONAL INFORMATION