Skip to content

Commit

Permalink
fix(tooltip): remove :has selector on arrow (#2830)
Browse files Browse the repository at this point in the history
  • Loading branch information
shenjunjian authored Jan 22, 2025
1 parent 35716f8 commit 2bf2a78
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/theme/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@opentiny/vue-theme",
"type": "module",
"version": "3.21.1",
"version": "3.21.2",
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
"author": "OpenTiny Team",
"license": "MIT",
Expand Down Expand Up @@ -93,4 +93,4 @@
]
}
}
}
}
8 changes: 4 additions & 4 deletions packages/theme/src/base/reset.less
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@
}

// 有箭头的场景,统一规范所有样式
.tiny-popconfirm-popover:has(.popper__arrow),
.tiny-popper:has(.popper__arrow),
.tiny-tooltip__popper:has(.popper__arrow) {
.tiny-popconfirm-popover,
.tiny-popper,
.tiny-tooltip__popper {
.popper__arrow {
position: absolute;
display: block;
Expand Down Expand Up @@ -243,4 +243,4 @@
right: -3px;
}
}
}
}

0 comments on commit 2bf2a78

Please sign in to comment.