fix(canvas): 模型选择 - 修复描述过长导致选项横向溢出
This commit is contained in:
@@ -1604,6 +1604,8 @@
|
||||
|
||||
.canvas-model-picker-menu {
|
||||
max-height: min(420px, calc(100vh - 32px));
|
||||
min-width: 0;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
padding: 4px;
|
||||
}
|
||||
@@ -1621,6 +1623,7 @@
|
||||
font-weight: 600;
|
||||
gap: 6px;
|
||||
letter-spacing: 0.02em;
|
||||
min-width: 0;
|
||||
padding: 5px 7px 4px;
|
||||
}
|
||||
|
||||
@@ -1631,8 +1634,11 @@
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
max-width: 100%;
|
||||
min-height: 44px;
|
||||
min-width: 0;
|
||||
outline: none;
|
||||
overflow: hidden;
|
||||
padding: 6px 7px;
|
||||
text-align: left;
|
||||
transition: background-color var(--motion-instant) ease-out;
|
||||
@@ -1651,6 +1657,7 @@
|
||||
.canvas-model-picker-option > span:first-child {
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.canvas-model-picker-option-check {
|
||||
|
||||
Reference in New Issue
Block a user