Skip to content

Commit 7d83615

Browse files
committed
remove action and option sections from getting printed
1 parent 8240ec7 commit 7d83615

4 files changed

Lines changed: 30 additions & 0 deletions

File tree

src/components/Card/card.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,3 +288,9 @@ $eccgui-size-card-spacing: $eccgui-size-typo-base !default;
288288
}
289289
}
290290
}
291+
292+
@media print {
293+
.#{$eccgui}-card__actions {
294+
display: none;
295+
}
296+
}

src/components/ContentGroup/_contentgroup.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,12 @@ $eccgui-color-scontentgroup-border-sub: eccgui-color-rgba(
6060
flex-shrink: 1;
6161
width: 100%;
6262
}
63+
64+
@media print {
65+
.#{$eccgui}-contentgroup__header__options {
66+
display: none;
67+
}
68+
.#{$eccgui}-contentgroup--border-sub::after {
69+
print-color-adjust: exact;
70+
}
71+
}

src/components/Notification/notification.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,9 @@
9191
color: inherit;
9292
}
9393
}
94+
95+
@media print {
96+
.#{$eccgui}-notification__actions {
97+
display: none;
98+
}
99+
}

src/components/OverviewItem/overviewitem.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,12 @@ $eccgui-size-overviewitem-line-typo-large-lineheight: $eccgui-size-typo-subtitle
197197
display: flex;
198198
}
199199
}
200+
201+
@media print {
202+
.#{$eccgui}-overviewitem__actions {
203+
display: none;
204+
}
205+
.#{$eccgui}-overviewitem__depiction {
206+
print-color-adjust: exact;
207+
}
208+
}

0 commit comments

Comments
 (0)