From fbf6f46fc072d9fa8aeecd58f324c04676d7f93e Mon Sep 17 00:00:00 2001 From: Vince Picone Date: Wed, 19 Feb 2020 18:29:14 -0600 Subject: [PATCH] fix: next-prev click target too small regression (#734) --- .../src/components/NextPrevious/NextPrevious.module.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/gatsby-theme-carbon/src/components/NextPrevious/NextPrevious.module.scss b/packages/gatsby-theme-carbon/src/components/NextPrevious/NextPrevious.module.scss index 736252e35..f69dcfe2f 100644 --- a/packages/gatsby-theme-carbon/src/components/NextPrevious/NextPrevious.module.scss +++ b/packages/gatsby-theme-carbon/src/components/NextPrevious/NextPrevious.module.scss @@ -12,18 +12,20 @@ } .link { - padding: 1rem; + padding: 0; transition: background $duration--fast-02 $carbon--standard-easing; &:hover { color: $carbon--white-0; background: $carbon--gray-80; - cursor: pointer; } } .link a { + padding: 1rem; text-decoration: none; + display: block; + height: 100%; color: $carbon--white-0; }