You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/02/04 06:04:31 UTC

[GitHub] raphaelmerx opened a new issue #6810: Add a way to write dashboard CSS that only applies in standalone mode

raphaelmerx opened a new issue #6810: Add a way to write dashboard CSS that only applies in standalone mode
URL: https://github.com/apache/incubator-superset/issues/6810
 
 
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   
   ### Superset version
   commit 88283dc2cbfadedee94bdd6c72004e7a7fba5dfa
   
   ### Expected results
   When in standalone mode, the `<body>` element has CSS class `.standalone`, so that one can build custom CSS for when a dashboard is in standalone mode. For example to hide the chart controls when in standalone:
   ```css
   .standalone button.slice-header-controls-trigger {
       display: none;
   }
   ```
   
   ### Actual results
   There is no way to write custom dashboard CSS that will apply in standalone mode, but not outside of standalone mode.
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org