소스 검색

Remove text-decoration on hovering a element with child having an icon class (#2041)

BG-Software 8 달 전
부모
커밋
4ae0358cf5
3개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 0
      .changeset/popular-news-sell.md
  2. 0 1
      src/pages/_data/menu.yml
  3. 4 0
      src/scss/ui/_type.scss

+ 5 - 0
.changeset/popular-news-sell.md

@@ -0,0 +1,5 @@
+---
+"@tabler/core": patch
+---
+
+Remove `text-decoration` on hovering `a` element with class having `icon` class

+ 0 - 1
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

+ 4 - 0
src/scss/ui/_type.scss

@@ -163,6 +163,10 @@ Links
   }
 }
 
+a:hover:has(.icon) {
+  text-decoration: none;
+}
+
 /**
 Subheader
  */