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