mirror of
https://github.com/minio/docs.git
synced 2025-07-31 18:04:52 +03:00
Hide navigation links when loaded inside iframe
This commit is contained in:
@ -42,4 +42,21 @@
|
||||
position: sticky;
|
||||
top: 0;
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
// Keep only the main content when the page is loaded inside an iframe.
|
||||
// Currently we load certain pages inside iframes for PathFactory analytics.
|
||||
.inside-iframe {
|
||||
.header,
|
||||
.sidebar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.content {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.content__main {
|
||||
padding-left: $content-padding;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user