fix(paragraph): bug fix (#3396)
This commit is contained in:
parent
ce5850b6d4
commit
137fc01c76
@ -7,7 +7,6 @@
|
|||||||
@click.stop="editParagraph(data)"
|
@click.stop="editParagraph(data)"
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
>
|
>
|
||||||
<h2 class="mb-16">{{ data.title || '-' }}</h2>
|
|
||||||
<div v-show="show" class="mk-sticky" v-if="!disabled">
|
<div v-show="show" class="mk-sticky" v-if="!disabled">
|
||||||
<el-card
|
<el-card
|
||||||
class="paragraph-box-operation mt-8 mr-8"
|
class="paragraph-box-operation mt-8 mr-8"
|
||||||
@ -59,6 +58,7 @@
|
|||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
</el-card>
|
</el-card>
|
||||||
</div>
|
</div>
|
||||||
|
<h2 class="mb-16">{{ data.title || '-' }}</h2>
|
||||||
<MdPreview
|
<MdPreview
|
||||||
ref="editorRef"
|
ref="editorRef"
|
||||||
editorId="preview-only"
|
editorId="preview-only"
|
||||||
@ -188,29 +188,28 @@ function refreshMigrateParagraph() {
|
|||||||
background: var(--app-layout-bg-color);
|
background: var(--app-layout-bg-color);
|
||||||
border: 1px solid #ffffff;
|
border: 1px solid #ffffff;
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
// position: relative;
|
position: relative;
|
||||||
// overflow: inherit;
|
overflow: inherit;
|
||||||
&:hover {
|
&:hover {
|
||||||
background: rgba(31, 35, 41, 0.1);
|
background: rgba(31, 35, 41, 0.1);
|
||||||
border: 1px solid #dee0e3;
|
border: 1px solid #dee0e3;
|
||||||
}
|
}
|
||||||
.paragraph-box-operation {
|
.paragraph-box-operation {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: -10px;
|
||||||
top: 0;
|
top: -10px;
|
||||||
overflow: inherit;
|
overflow: inherit;
|
||||||
border: 1px solid #dee0e3;
|
border: 1px solid #dee0e3;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
float: right;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// .mk-sticky {
|
.mk-sticky {
|
||||||
// height: 0;
|
height: 0;
|
||||||
// position: sticky;
|
position: sticky;
|
||||||
// right: 0;
|
right: 0;
|
||||||
// top: 0;
|
top: 0;
|
||||||
// overflow: inherit;
|
overflow: inherit;
|
||||||
// z-index: 10;
|
z-index: 10;
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user