From 897b33e79d2fc452ea258778047b48f74c63ec58 Mon Sep 17 00:00:00 2001 From: Brock Whittaker Date: Mon, 9 Oct 2017 17:01:12 -0700 Subject: [PATCH] components: De-duplicate `.no-underline` class. This de-duplicates occurances of the `.no-underline` class by removing it from "portico.css" and ensuring compaitbility by adding support for the standard and :hover cases. --- static/styles/components.css | 3 ++- static/styles/portico.css | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/static/styles/components.css b/static/styles/components.css index 0112fb54dd..9870a4a7d6 100644 --- a/static/styles/components.css +++ b/static/styles/components.css @@ -52,6 +52,7 @@ color: inherit; } -a.no-underline { +a.no-underline, +a.no-underline:hover { text-decoration: none; } diff --git a/static/styles/portico.css b/static/styles/portico.css index b4b296f822..8b444ccb79 100644 --- a/static/styles/portico.css +++ b/static/styles/portico.css @@ -13,10 +13,6 @@ body { margin: 0 auto -56px; } -.no-underline:hover { - text-decoration: none; -} - .normal { font-weight: normal; }