mirror of
https://github.com/fanchenio/DawnLauncher.git
synced 2025-07-13 21:02:10 +08:00
修复项目隐藏省略号和项目行高冲突的问题。
This commit is contained in:
parent
6386518171
commit
0cb66ffaa5
@ -65,6 +65,19 @@
|
|||||||
: 'item-name-tile-1'
|
: 'item-name-tile-1'
|
||||||
}`,
|
}`,
|
||||||
]"
|
]"
|
||||||
|
:style="{
|
||||||
|
fontSize: store.setting.item.fontSize + 'px',
|
||||||
|
fontWeight: store.setting.item.fontWeight,
|
||||||
|
lineHeight: store.setting.item.fontLineHeight + 'rem',
|
||||||
|
maxHeight:
|
||||||
|
store.setting.item.itemNameRowCount == 2
|
||||||
|
? store.setting.item.hideEllipsis
|
||||||
|
? store.setting.item.fontLineHeight * 2 + 'rem'
|
||||||
|
: undefined
|
||||||
|
: store.setting.item.hideEllipsis
|
||||||
|
? store.setting.item.fontLineHeight * 1 + 'rem'
|
||||||
|
: undefined,
|
||||||
|
}"
|
||||||
>
|
>
|
||||||
{{ item.name }}
|
{{ item.name }}
|
||||||
</p>
|
</p>
|
||||||
|
@ -60,6 +60,18 @@
|
|||||||
: undefined,
|
: undefined,
|
||||||
fontWeight: store.setting.item.fontWeight,
|
fontWeight: store.setting.item.fontWeight,
|
||||||
lineHeight: store.setting.item.fontLineHeight + 'rem',
|
lineHeight: store.setting.item.fontLineHeight + 'rem',
|
||||||
|
maxHeight:
|
||||||
|
getLayout(classificationId) === 'list'
|
||||||
|
? store.setting.item.hideEllipsis
|
||||||
|
? store.setting.item.fontLineHeight * 1 + 'rem'
|
||||||
|
: undefined
|
||||||
|
: store.setting.item.itemNameRowCount === 2
|
||||||
|
? store.setting.item.hideEllipsis
|
||||||
|
? store.setting.item.fontLineHeight * 2 + 'rem'
|
||||||
|
: undefined
|
||||||
|
: store.setting.item.hideEllipsis
|
||||||
|
? store.setting.item.fontLineHeight * 1 + 'rem'
|
||||||
|
: undefined,
|
||||||
}"
|
}"
|
||||||
v-if="!store.setting.item.hideItemName"
|
v-if="!store.setting.item.hideItemName"
|
||||||
>
|
>
|
||||||
|
@ -65,6 +65,19 @@
|
|||||||
: 'item-name-tile-1'
|
: 'item-name-tile-1'
|
||||||
}`,
|
}`,
|
||||||
]"
|
]"
|
||||||
|
:style="{
|
||||||
|
fontSize: store.setting.item.fontSize + 'px',
|
||||||
|
fontWeight: store.setting.item.fontWeight,
|
||||||
|
lineHeight: store.setting.item.fontLineHeight + 'rem',
|
||||||
|
maxHeight:
|
||||||
|
store.setting.item.itemNameRowCount == 2
|
||||||
|
? store.setting.item.hideEllipsis
|
||||||
|
? store.setting.item.fontLineHeight * 2 + 'rem'
|
||||||
|
: undefined
|
||||||
|
: store.setting.item.hideEllipsis
|
||||||
|
? store.setting.item.fontLineHeight * 1 + 'rem'
|
||||||
|
: undefined,
|
||||||
|
}"
|
||||||
>
|
>
|
||||||
{{ item.name }}
|
{{ item.name }}
|
||||||
</p>
|
</p>
|
||||||
|
@ -66,6 +66,19 @@
|
|||||||
: 'item-name-tile-1'
|
: 'item-name-tile-1'
|
||||||
}`,
|
}`,
|
||||||
]"
|
]"
|
||||||
|
:style="{
|
||||||
|
fontSize: store.setting.item.fontSize + 'px',
|
||||||
|
fontWeight: store.setting.item.fontWeight,
|
||||||
|
lineHeight: store.setting.item.fontLineHeight + 'rem',
|
||||||
|
maxHeight:
|
||||||
|
store.setting.item.itemNameRowCount == 2
|
||||||
|
? store.setting.item.hideEllipsis
|
||||||
|
? store.setting.item.fontLineHeight * 2 + 'rem'
|
||||||
|
: undefined
|
||||||
|
: store.setting.item.hideEllipsis
|
||||||
|
? store.setting.item.fontLineHeight * 1 + 'rem'
|
||||||
|
: undefined,
|
||||||
|
}"
|
||||||
>
|
>
|
||||||
{{ item.name }}
|
{{ item.name }}
|
||||||
</p>
|
</p>
|
||||||
|
@ -85,7 +85,6 @@ input::-webkit-inner-spin-button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.item-name-tile-2-no-ellipsis {
|
.item-name-tile-2-no-ellipsis {
|
||||||
max-height: 40px;
|
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
@ -101,7 +100,6 @@ input::-webkit-inner-spin-button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.item-name-tile-1-no-ellipsis {
|
.item-name-tile-1-no-ellipsis {
|
||||||
max-height: 20px;
|
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
@ -117,7 +115,6 @@ input::-webkit-inner-spin-button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.item-name-list-no-ellipsis {
|
.item-name-list-no-ellipsis {
|
||||||
max-height: 20px;
|
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user