* 解决webUI模型配置页面卡片溢出问题

* fix: webUI卡片文本溢出问题
This commit is contained in:
sheetung
2025-05-19 18:11:50 +08:00
committed by GitHub
parent e5a99a0fe4
commit 5e5d37cbf1
2 changed files with 27 additions and 0 deletions
@@ -33,6 +33,8 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 0.2rem; gap: 0.2rem;
min-width: 0;
width: 100%;
} }
.basicInfoNameContainer { .basicInfoNameContainer {
@@ -43,12 +45,18 @@
.basicInfoName { .basicInfoName {
font-size: 1.4rem; font-size: 1.4rem;
font-weight: 500; font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
.basicInfoDescription { .basicInfoDescription {
font-size: 1rem; font-size: 1rem;
font-weight: 300; font-weight: 300;
color: #b1b1b1; color: #b1b1b1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
.basicInfoAdapterContainer { .basicInfoAdapterContainer {
@@ -88,3 +96,12 @@
font-weight: 500; font-weight: 500;
color: #626262; color: #626262;
} }
.bigText {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 1.4rem;
font-weight: bold;
max-width: 100%;
}
@@ -23,6 +23,7 @@
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
gap: 0.4rem; gap: 0.4rem;
min-width: 0;
} }
.basicInfoNameContainer { .basicInfoNameContainer {
@@ -88,3 +89,12 @@
font-weight: 400; font-weight: 400;
color: #ffcd27; color: #ffcd27;
} }
.bigText {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 1.4rem;
font-weight: bold;
max-width: 100%;
}