fix: 修改标尺和水印定位的问题

This commit is contained in:
奔跑的面条 2022-05-06 20:29:35 +08:00
parent 60ec01eb32
commit d0070319a9
2 changed files with 8 additions and 0 deletions

View File

@ -41,6 +41,11 @@ const lines = {
/* 使 SCSS 使 CSS
此库有计划 Vue3 版本但是开发的时候还没发布 */
#mb-ruler {
top: 0;
left: 0;
}
/* 横线 */
#mb-ruler .v-container .lines .line {
/* 最大缩放 200% */
@ -71,6 +76,7 @@ const lines = {
font-size: 26px;
font-weight: bolder;
}
#mb-ruler .corner{
border-width: 0!important;
}

View File

@ -21,6 +21,8 @@ import { watermarkText } from '@/settings/designSetting'
<style lang="scss" scoped>
#go-edit-watermark {
display: none;
position: absolute;
top: 0;
width: 100%;
height: 100%;
}