Optimize feature #54

Former-commit-id: 7aa0d35e63d4fdb57e4ea3bf0f085fdde947915e
This commit is contained in:
Physton
2023-05-21 23:05:13 +08:00
parent b04211277f
commit 2bf0304839
9 changed files with 39 additions and 9 deletions

View File

@@ -1 +1 @@
7586333151914088f7eb740dbedda22e6ed9aac3
bddf75b83abbfd76a321242524bae7b3db4ff1a7

View File

@@ -1 +1 @@
0a93919c189c6b4a996542fb802b7c9198c00514
9d6061fe1fc1a74f4cc92ab7657129bf3c625cb1

View File

@@ -1 +1 @@
1616fc1a1d3c8fcd5501496d8989546f8dde0083
293f7a90f1dd72356784374d803efc48c09682a5

View File

@@ -472,5 +472,19 @@ export default {
}
}
return false
}
},
/**
* 交换元素
* @param ele1 {Element}
* @param ele2 {Element}
*/
swapElement(ele1, ele2) {
let parent1 = ele1.parentNode
let parent2 = ele2.parentNode
let next1 = ele1.nextSibling
let next2 = ele2.nextSibling
parent1.insertBefore(ele2, next1)
parent2.insertBefore(ele1, next2)
},
}

View File

@@ -0,0 +1,10 @@
{
"name": "The interface displays line breaks as a new line",
"i18n": {
"zh_CN": "\u754C\u9762\u4E2D\u201C\u6362\u884C\u7B26\u53F7\u201D\u6362\u884C\u663E\u793A",
"zh_HK": "\u754C\u9762\u4E2D\u300C\u63DB\u884C\u7B26\u865F\u300D\u63DB\u884C\u986F\u793A",
"zh_TW": "\u4ECB\u9762\u4E2D\u300C\u63DB\u884C\u7B26\u865F\u300D\u63DB\u884C\u986F\u793A"
},
"author": "Physton",
"type": "enhance"
}

View File

@@ -0,0 +1,5 @@
.physton-prompt {
.prompt-wrap.wrap-tag {
display: block !important;
}
}

View File

@@ -0,0 +1 @@
.physton-prompt .prompt-wrap.wrap-tag{display:block!important}

View File

@@ -483,10 +483,10 @@
.prompt-wrap {
display: none;
//flex-basis: 100%;
//height: 0;
//margin: 0;
//padding: 0;
flex-basis: 100%;
height: 0;
margin: 0;
padding: 0;
}
.prompt-tag {

2
styles/main.min.css vendored

File diff suppressed because one or more lines are too long