vue-treeselect-下拉框内容换行展示
This commit is contained in:
parent
7863f38050
commit
4760ff4415
15
src/App.vue
15
src/App.vue
|
|
@ -49,9 +49,22 @@ export default {
|
|||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
<style>
|
||||
/* 隐藏主题选择器组件 */
|
||||
#app .theme-picker {
|
||||
display: none;
|
||||
}
|
||||
/* 下拉框内容换行展示 */
|
||||
.vue-treeselect__option,
|
||||
.vue-treeselect__label {
|
||||
white-space: normal !important;
|
||||
overflow: visible !important;
|
||||
text-overflow: unset !important;
|
||||
word-break: break-word !important;
|
||||
line-height: normal !important;
|
||||
}
|
||||
|
||||
.vue-treeselect__menu {
|
||||
width: auto !important;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue