refactor: 不能随便全局加 box-sizing

This commit is contained in:
菲鸽 2024-03-10 10:30:32 +08:00
parent 850fba04d1
commit 91478e3507

View File

@ -14,13 +14,6 @@ onHide(() => {
<style lang="scss">
/* stylelint-disable selector-type-no-unknown */
view,
navigator,
input,
scroll-view {
box-sizing: border-box;
}
button::after {
border: none;
}
@ -38,7 +31,13 @@ image {
vertical-align: middle;
}
// 使 unocss: text-ellipsis
// 使 unocss: text-ellipsis
.ellipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
//
.ellipsis-2 {
display: -webkit-box;