Merge pull request #6657 from dataease/pr@dev_one_dot_x
Pr@dev one dot x
This commit is contained in:
commit
6aff57bb26
@ -392,10 +392,14 @@ export default {
|
||||
}
|
||||
|
||||
// .component-outer {
|
||||
// transform: translate(0);
|
||||
// transform: none;
|
||||
// }
|
||||
|
||||
.component-active {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.fullscreen {
|
||||
transform: translate(0);
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<span
|
||||
style="transform: translate(0);display: inline-block;position: relative;
|
||||
style="display: inline-block;position: relative;
|
||||
z-index: 10;"
|
||||
>
|
||||
<el-popover
|
||||
placement="bottom"
|
||||
trigger="hover"
|
||||
width="300"
|
||||
:append-to-body="false"
|
||||
:append-to-body="!previewVisible"
|
||||
popper-class="remark-pop"
|
||||
:visible-arrow="false"
|
||||
>
|
||||
@ -26,6 +26,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
export default {
|
||||
name: 'TitleRemark',
|
||||
props: {
|
||||
@ -33,6 +34,9 @@ export default {
|
||||
type: Object,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState(['previewVisible'])
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@ -73,15 +77,3 @@ export default {
|
||||
text-align: -webkit-match-parent!important;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
.el-popover.remark-pop{
|
||||
padding: 0;
|
||||
border: none;
|
||||
margin-top: 8px!important;
|
||||
top: 22px !important;
|
||||
left: auto !important;
|
||||
}
|
||||
.title-is-right .el-popover.remark-pop {
|
||||
right: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user