File tree Expand file tree Collapse file tree 1 file changed +13
-14
lines changed
ui/src/views/paragraph/component Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change 77 @click.stop =" editParagraph(data)"
88 v-loading =" loading"
99 >
10- <h2 class =" mb-16" >{{ data.title || '-' }}</h2 >
1110 <div v-show =" show" class =" mk-sticky" v-if =" !disabled" >
1211 <el-card
1312 class =" paragraph-box-operation mt-8 mr-8"
5958 </el-dropdown >
6059 </el-card >
6160 </div >
61+ <h2 class =" mb-16" >{{ data.title || '-' }}</h2 >
6262 <MdPreview
6363 ref =" editorRef"
6464 editorId =" preview-only"
@@ -188,29 +188,28 @@ function refreshMigrateParagraph() {
188188 background : var (--app-layout-bg-color );
189189 border : 1px solid #ffffff ;
190190 box-shadow : none !important ;
191- // position: relative;
192- // overflow: inherit;
191+ position : relative ;
192+ overflow : inherit ;
193193 & :hover {
194194 background : rgba (31 , 35 , 41 , 0.1 );
195195 border : 1px solid #dee0e3 ;
196196 }
197197 .paragraph-box-operation {
198198 position : absolute ;
199- right : 0 ;
200- top : 0 ;
199+ right : -10 px ;
200+ top : -10 px ;
201201 overflow : inherit ;
202202 border : 1px solid #dee0e3 ;
203203 z-index : 10 ;
204- float : right ;
205204 }
206205
207- // .mk-sticky {
208- // height: 0;
209- // position: sticky;
210- // right: 0;
211- // top: 0;
212- // overflow: inherit;
213- // z-index: 10;
214- // }
206+ .mk-sticky {
207+ height : 0 ;
208+ position : sticky ;
209+ right : 0 ;
210+ top : 0 ;
211+ overflow : inherit ;
212+ z-index : 10 ;
213+ }
215214}
216215 </style >
You can’t perform that action at this time.
0 commit comments