From 4ae0358cf570b68129037f279b9d61b4f2a70681 Mon Sep 17 00:00:00 2001 From: BG-Software <73077398+BG-Software-BG@users.noreply.github.com> Date: Sun, 5 Jan 2025 23:04:42 +0100 Subject: [PATCH] Remove text-decoration on hovering a element with child having an icon class (#2041) --- .changeset/popular-news-sell.md | 5 +++++ src/pages/_data/menu.yml | 1 - src/scss/ui/_type.scss | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .changeset/popular-news-sell.md diff --git a/.changeset/popular-news-sell.md b/.changeset/popular-news-sell.md new file mode 100644 index 000000000..65d4420de --- /dev/null +++ b/.changeset/popular-news-sell.md @@ -0,0 +1,5 @@ +--- +"@tabler/core": patch +--- + +Remove `text-decoration` on hovering `a` element with class having `icon` class diff --git a/src/pages/_data/menu.yml b/src/pages/_data/menu.yml index b9adbcee7..dba26361e 100644 --- a/src/pages/_data/menu.yml +++ b/src/pages/_data/menu.yml @@ -152,7 +152,6 @@ base: pagination: url: pagination.html title: Pagination - icon: pie-chart placeholder: url: placeholder.html title: Placeholder diff --git a/src/scss/ui/_type.scss b/src/scss/ui/_type.scss index 0442ee497..5767b3132 100644 --- a/src/scss/ui/_type.scss +++ b/src/scss/ui/_type.scss @@ -163,6 +163,10 @@ Links } } +a:hover:has(.icon) { + text-decoration: none; +} + /** Subheader */