.container { padding: 10px; height: 100vh; box-sizing: border-box; } .textarea { width: 100%; height: 200px; padding: 12px; line-height: 20px; box-sizing: border-box; } .lh20{ line-height: 20px; } .type-box{ margin-bottom: 12px; } .type-item{ width: 60px; height: 30px; text-align: center; line-height: 30px; border-radius: 15px; margin-right: 8px; background-color: #fff; font-size: 16px; } .type-active{ background-color: var(--color-ysd); color:#fff; }