mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 05:06:55 +04:00
Fix .dropdown-menu-arrow border color, replace clip with clip-path (#2991)
This commit is contained in:
1 parent
692a3a2d76
commit
6f64f3360b
2 files changed
+9
-3
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fixed the `.dropdown-menu-arrow` border color and replaced the deprecated `clip` with `clip-path`.
|
||||||
@@ -86,11 +86,12 @@
|
|||||||
display: block;
|
display: block;
|
||||||
width: 14px;
|
width: 14px;
|
||||||
height: 14px;
|
height: 14px;
|
||||||
clip: rect(0, 9px, 9px, 0);
|
clip-path: inset(0 5px 5px 0);
|
||||||
content: '';
|
content: '';
|
||||||
background: inherit;
|
background: inherit;
|
||||||
border: 1px solid;
|
// The menu draws its edge with the 1px ring in --dropdown-box-shadow and has
|
||||||
border-color: inherit;
|
// no border, so `inherit` would give the arrow the text color.
|
||||||
|
border: 1px solid var(--dropdown-border-color);
|
||||||
|
|
||||||
/* rtl:ignore */
|
/* rtl:ignore */
|
||||||
transform: rotate(45deg);
|
transform: rotate(45deg);
|
||||||
|
|||||||
Reference in new issue
Block a user