优化css样式
parent
ee0e7e0fa6
commit
6f8711f11c
|
@ -30,7 +30,7 @@ class TextArea extends Component {
|
|||
:host {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
// height: 80px;
|
||||
min-height: 80px;
|
||||
user-select: none;
|
||||
-moz-user-select: none;
|
||||
color: var(--color-dark-1);
|
||||
|
@ -42,7 +42,7 @@ class TextArea extends Component {
|
|||
.label {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
font-size: 14px;
|
||||
border: 1px solid var(--color-grey-2);
|
||||
border-radius: inherit;
|
||||
|
@ -54,7 +54,7 @@ class TextArea extends Component {
|
|||
flex: 1;
|
||||
min-width: 36px;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
height: 100%;
|
||||
padding: 5px 8px;
|
||||
border: 0;
|
||||
border-radius: inherit;
|
||||
|
|
Loading…
Reference in New Issue