Explorar el Código

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

BG-Software hace 8 meses
padre
commit
4ae0358cf5
Se han modificado 3 ficheros con 9 adiciones y 1 borrados
  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:
     pagination:
       url: pagination.html
       url: pagination.html
       title: Pagination
       title: Pagination
-      icon: pie-chart
     placeholder:
     placeholder:
       url: placeholder.html
       url: placeholder.html
       title: Placeholder
       title: Placeholder

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

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