[fix] 添加一个临时解决firefox下提示词显示问题的样式方案
parent
d69645e6a6
commit
31fef02d6b
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"name": "Temporary fix for issues caused by css in Firefox.",
|
||||||
|
"i18n": {
|
||||||
|
"zh_CN": "临时修复Firefox中css导致的问题"
|
||||||
|
},
|
||||||
|
"author": "PTCMode",
|
||||||
|
"type": "enhance"
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,26 @@
|
||||||
|
.physton-prompt {
|
||||||
|
.prompt-tags {
|
||||||
|
.prompt-tags-list {
|
||||||
|
.prompt-tag {
|
||||||
|
.prompt-tag-main {
|
||||||
|
--pp-pt-dsb-ptl-pt-promptTagMain-width: calc(100% + 4px);
|
||||||
|
.prompt-tag-edit {
|
||||||
|
--pp-pt-dsb-ptl-pt-ptm-promptTagEdit-width: calc(100% + 8px);
|
||||||
|
.prompt-tag-value {
|
||||||
|
--pp-pt-dsb-ptl-pt-ptm-pte-promptTagValue-width: calc(100% - 8px);
|
||||||
|
.character {
|
||||||
|
--pp-pt-dsb-ptl-pt-ptm-pte-ptv-character-white-space: nowrap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.input-tag-edit {
|
||||||
|
--pp-pt-dsb-ptl-pt-ptm-pte-inputTagEdit-max-width: calc(100% - 8px);
|
||||||
|
}
|
||||||
|
.btn-tag-delete {
|
||||||
|
--pp-pt-dsb-ptl-pt-ptm-pte-btnTagDelete-width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
.physton-prompt{.prompt-tags{.prompt-tags-list{.prompt-tag{.prompt-tag-main{--pp-pt-dsb-ptl-pt-promptTagMain-width:calc(100%+4px);.prompt-tag-edit{--pp-pt-dsb-ptl-pt-ptm-promptTagEdit-width:calc(100%+8px);.prompt-tag-value{--pp-pt-dsb-ptl-pt-ptm-pte-promptTagValue-width:calc(100%-8px);.character{--pp-pt-dsb-ptl-pt-ptm-pte-ptv-character-white-space:nowrap;}}.input-tag-edit{--pp-pt-dsb-ptl-pt-ptm-pte-inputTagEdit-max-width:calc(100%-8px);}.btn-tag-delete{--pp-pt-dsb-ptl-pt-ptm-pte-btnTagDelete-width:100%;}}}}}}}
|
||||||
Loading…
Reference in New Issue