Skip to content
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

Hiding "EDIT DASHBOARD" button in an iframe #10564

Closed
Mahaswami opened this issue Aug 10, 2020 · 5 comments
Closed

Hiding "EDIT DASHBOARD" button in an iframe #10564

Mahaswami opened this issue Aug 10, 2020 · 5 comments
Labels
!deprecated-label:bug Deprecated label - Use #bug instead inactive Inactive for >= 30 days

Comments

@Mahaswami
Copy link

How to hide the "EDIT DASHBOARD" button in an iframe for the public role users instead of disabling?

@Mahaswami Mahaswami added the !deprecated-label:bug Deprecated label - Use #bug instead label Aug 10, 2020
@issue-label-bot
Copy link

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

@amitmiran137
Copy link
Member

#10408

@zufolo441
Copy link

adding ?standalone=true to URL and adding following CSS to dashboard:

.standalone button.slice-header-controls-trigger {
display: none;
}
.standalone .dashboard-header {
display: none;
}

this hides dashboard title, including button, and edit menu of charts.

@stale
Copy link

stale bot commented Oct 22, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

@stale stale bot added the inactive Inactive for >= 30 days label Oct 22, 2020
@amitmiran137
Copy link
Member

try standalone=2 as a query param

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
!deprecated-label:bug Deprecated label - Use #bug instead inactive Inactive for >= 30 days
Projects
None yet
Development

No branches or pull requests

3 participants