🎨优化流程图界面样式

This commit is contained in:
jmal 2022-08-26 22:28:49 +08:00
parent d73a6ae77b
commit fbf71ee2ac

View File

@ -140,6 +140,9 @@ export default {
this.reday = true this.reday = true
this.$emit('onReady') this.$emit('onReady')
this.updateContent() this.updateContent()
let doc = this.$refs.myFlow.contentWindow.document
let helpMenu = doc.querySelector('.geMenubarContainer .geMenubar').childNodes[5]
helpMenu.style.display = 'none'
break break
case "load": case "load":
if (this.xml.length < 1) { if (this.xml.length < 1) {
@ -177,30 +180,31 @@ export default {
height: 100%; height: 100%;
.drawio-title { .drawio-title {
text-align: center; text-align: left;
background-color: #fbfbfb; background-color: #fbfbfb;
z-index: 2001; z-index: 2001;
position: absolute; position: absolute;
top: 0; top: 0;
width: 100%; width: 50%;
height: 10px; margin-left: 50%;
height: 0;
.drawio-title-name { .drawio-title-name {
line-height: 40px; line-height: 32px;
} }
.drawio-save { .drawio-save {
float: right; float: right;
margin-top: -40px; margin-top: -32px;
margin-right: 30px; margin-right: 32px;
line-height: 40px; line-height: 32px;
} }
} }
.drawio-iframe { .drawio-iframe {
z-index: 1999; z-index: 1999;
position: absolute; position: absolute;
top: 10px; top: 2px;
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;