48 lines
932 B
SCSS
48 lines
932 B
SCSS
.title-input-wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10px 12px;
|
|
min-height: 32px;
|
|
box-sizing: border-box;
|
|
.title-input {
|
|
flex: 1;
|
|
padding: 0;
|
|
border-radius: 8px;
|
|
font-size: 16px;
|
|
background: #fff;
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
resize: none;
|
|
}
|
|
|
|
// 使用 placeholderClass 来控制 placeholder 样式
|
|
.title-input-placeholder {
|
|
color: rgba(60, 60, 67, 0.60) !important;
|
|
font-size: 16px !important;
|
|
font-weight: normal !important;
|
|
height: 19px;
|
|
line-height: 19px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.char-count {
|
|
color: #999;
|
|
pointer-events: none;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
line-height: 24px;
|
|
&.char-count--error {
|
|
color: #ff4d4f;
|
|
}
|
|
}
|
|
} |