Fix .dropdown-menu-arrow border color, replace clip with clip-path (#2991)

This commit is contained in:
Paweł Kuna authored and GitHub committed 2026-09-08 00:08:04 +02:00
1 parent 692a3a2d76
commit 6f64f3360b
2 files changed
+9 -3

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---
Fixed the `.dropdown-menu-arrow` border color and replaced the deprecated `clip` with `clip-path`.
+4 -3
View File
@@ -86,11 +86,12 @@
display: block;
width: 14px;
height: 14px;
clip: rect(0, 9px, 9px, 0);
clip-path: inset(0 5px 5px 0);
content: '';
background: inherit;
border: 1px solid;
border-color: inherit;
// The menu draws its edge with the 1px ring in --dropdown-box-shadow and has
// no border, so `inherit` would give the arrow the text color.
border: 1px solid var(--dropdown-border-color);
/* rtl:ignore */
transform: rotate(45deg);