From e27c4a69d815c22ad6f54dfaf33ca1ff33532010 Mon Sep 17 00:00:00 2001 From: "Nicholas J. Small" Date: Thu, 1 Nov 2018 15:04:17 -0400 Subject: [PATCH 1/3] Use `!important` in print-hidden mixin --- src/styles/shared/typography.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/shared/typography.scss b/src/styles/shared/typography.scss index 85063a3f..0d9ea029 100644 --- a/src/styles/shared/typography.scss +++ b/src/styles/shared/typography.scss @@ -171,6 +171,6 @@ $typography-condensed: em(640px); @mixin print-hidden { @media print { - display: none; + display: none !important; } } From c8c8c0fcebfbcf61cb191e56b133e46d4e67dd3b Mon Sep 17 00:00:00 2001 From: "Nicholas J. Small" Date: Thu, 1 Nov 2018 18:23:21 -0400 Subject: [PATCH 2/3] Disable no-important --- src/styles/shared/typography.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/styles/shared/typography.scss b/src/styles/shared/typography.scss index 0d9ea029..ff18a4e8 100644 --- a/src/styles/shared/typography.scss +++ b/src/styles/shared/typography.scss @@ -171,6 +171,7 @@ $typography-condensed: em(640px); @mixin print-hidden { @media print { + // stylelint-disable-next-line declaration-no-important display: none !important; } } From 03f44c3e9bd0d59c119589bb04b67c6d8ae190f8 Mon Sep 17 00:00:00 2001 From: Nick Small Date: Mon, 5 Nov 2018 12:45:26 -0500 Subject: [PATCH 3/3] Add print-hidden change to UNRELEASED --- UNRELEASED.md | 1 + 1 file changed, 1 insertion(+) diff --git a/UNRELEASED.md b/UNRELEASED.md index b072af3f..c5d2b369 100644 --- a/UNRELEASED.md +++ b/UNRELEASED.md @@ -60,6 +60,7 @@ The autocomplete component is an input field that provides selectable suggestion - Fixed `Portal` rendering by using `componentDidMount` lifecycle hook as opposed to `componentWillMount`; - Fixed an issue where clicking a `Link` without a `url` in a form would implicitly submit the form. `Link` can no longer submit forms. Use `