优化项目名称显示。

This commit is contained in:
unknown 2024-07-05 22:19:59 +08:00
parent 6f04f8ccbd
commit 8c17275169
2 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@
<p
class="text-center mx-2"
:class="[
`${getLayout(classificationId) === 'tile' ? 'mt-2' : ''}`,
`${getLayout(classificationId) === 'tile' ? 'mt-2 text-center' : ''}`,
`${
getLayout(classificationId) === 'list'
? store.setting.item.hideEllipsis

View File

@ -75,7 +75,7 @@ input::-webkit-inner-spin-button {
}
.item-name-tile-2 {
word-break: break-all;
word-break: break-word;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
@ -86,7 +86,7 @@ input::-webkit-inner-spin-button {
.item-name-tile-2-no-ellipsis {
max-height: 40px;
word-break: break-all;
word-break: break-word;
overflow: hidden;
}