Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const message = ref('这是气泡确认框提示内容文本描述,这是两
background-color: #ccc;
}

.tiny-popover.tiny-popper.custom-class .popper__arrow::after {
border-top-color: #ccc;
.tiny-popover.tiny-popper.custom-class .popper__arrow {
background-color: #ccc;
}
</style>
4 changes: 2 additions & 2 deletions examples/sites/demos/pc/app/popconfirm/custom-class.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default {
background-color: #ccc;
}

.tiny-popover.tiny-popper.custom-class .popper__arrow::after {
border-top-color: #ccc;
.tiny-popover.tiny-popper.custom-class .popper__arrow {
background-color: #ccc;
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</template>
</tiny-popconfirm>

<tiny-popconfirm :title="title" :type="TinyIconDel" :message="message">
<tiny-popconfirm :title="title" :type="TinyIconDel" :message="message" custom-class="custom-icon">
<template #reference>
<tiny-button>自定义</tiny-button>
</template>
Expand All @@ -51,3 +51,9 @@ const TinyIconDel = iconDel()
margin-bottom: 10px;
}
</style>

<style>
.custom-icon svg {
fill: var(--tv-color-icon-active);
}
</style>
8 changes: 7 additions & 1 deletion examples/sites/demos/pc/app/popconfirm/type.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</template>
</tiny-popconfirm>

<tiny-popconfirm :title="title" :type="TinyIconDel" :message="message">
<tiny-popconfirm :title="title" :type="TinyIconDel" :message="message" custom-class="custom-icon">
<template #reference>
<tiny-button>自定义</tiny-button>
</template>
Expand Down Expand Up @@ -60,3 +60,9 @@ export default {
margin-bottom: 10px;
}
</style>

<style>
.custom-icon svg {
fill: var(--tv-color-icon-active);
}
</style>
Loading