diff --git a/src/components/TitleTextarea/index.scss b/src/components/TitleTextarea/index.scss index 4763121..720907a 100644 --- a/src/components/TitleTextarea/index.scss +++ b/src/components/TitleTextarea/index.scss @@ -4,8 +4,8 @@ display: flex; align-items: center; justify-content: space-between; - padding: 10px 12px; - min-height: 32px; + padding: 8px 12px; + min-height: 36px; box-sizing: border-box; .title-input { flex: 1; @@ -14,10 +14,11 @@ font-size: 16px; background: #fff; box-sizing: border-box; - display: flex; align-items: center; resize: none; + line-height: 26px; + min-height: 26px; } // 使用 placeholderClass 来控制 placeholder 样式 @@ -25,9 +26,9 @@ color: rgba(60, 60, 67, 0.60) !important; font-size: 16px !important; font-weight: normal !important; - height: 19px; - line-height: 19px; - + line-height: 26px !important; + height: 26px; + flex: 1; }