Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
rules for iframes and svgs in print mode
Browse files Browse the repository at this point in the history
  • Loading branch information
MadelaineS committed Sep 12, 2022
1 parent 22c60cc commit 6a5a11c
Showing 1 changed file with 30 additions and 12 deletions.
42 changes: 30 additions & 12 deletions theme/site/globals/site.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -2313,12 +2313,13 @@ main {
}
}

.ui.secondary.vertical.segment.breadcrumbs {
.ui.secondary.vertical.segment.breadcrumbs,
.ui.secondary.vertical.segment.breadcrumbs:not(aside .ui.vertical.segment.breadcrumbs) {
display: inline !important;
width: 100vw !important;
padding: 0 !important;

.ui.breadcrumb {
.breadcrumb {
display: inline !important;
background: transparent !important;

Expand Down Expand Up @@ -2432,7 +2433,7 @@ main {
.header-image-wrapper {
height: auto;
align-items: start;
padding: 0 10px;
padding: 40px 10px !important;

.header-image {
width: 756px;
Expand Down Expand Up @@ -2554,13 +2555,15 @@ main {
}

.simple-data-table {
display: block;
padding: 0 1em;
overflow-x: visible;
margin-left: -30px;
}

.image {
width: 50%;
.image, img {
width: 80% !important;
height: auto;
}

.ui.table {
Expand Down Expand Up @@ -2630,25 +2633,40 @@ main {
padding: 0 !important;
}

.svg-container {
width: 100%;
}

.print-button {
display: none;
}

.embed-visualization {
page-break-before: always !important;
page-break-inside: avoid !important;
//page-break-after: always !important;

svg {
position: static !important;
.svg-container {
display: block;
width: 100%;
}

.download-button {
display: none;
}
}

.connected-chart-wrapper {
overflow: initial !important;
}

.privacy-protection-wrapper {
min-height: 100% !important;
width: 100% !important;
}

.columns-view > .grid.column-grid > .column.column-blocks-wrapper {
display: block !important;
}

.columns-view > .grid.column-grid > .column.column-blocks-wrapper > div {
display: block !important;
}
}

.print-button {
Expand Down

0 comments on commit 6a5a11c

Please sign in to comment.