Skip to content

Commit 6a39b6b

Browse files
author
Vivek Vishal
authored
Merge pull request #6343 from vishalvivekm/fix-form
[commonForm component] rm field gradient and fix responsive issues
2 parents 31ff564 + 400bb43 commit 6a39b6b

1 file changed

Lines changed: 6 additions & 13 deletions

File tree

src/components/CommonForm/commonForm.style.js

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ margin: 1rem;
4646
4747
.form{
4848
font-size: .9rem;
49-
width: fit-content !important;
50-
margin: 0 1rem 1rem;
49+
width: 100%;
50+
margin: 0 0 1rem;
5151
padding: 1rem;
5252
5353
.supscript{
@@ -58,7 +58,7 @@ margin: 1rem;
5858
5959
label {
6060
display: block;
61-
font-size: 1rem;
61+
font-size: .98rem;
6262
}
6363
6464
.required-sign {
@@ -97,7 +97,7 @@ margin: 1rem;
9797
display: block;
9898
}
9999
.formRight select {
100-
background: linear-gradient(90deg, rgba(0,179,159,0.15) 0%, rgba(208,228,228,.7) 40%);
100+
background: ${props => props.theme.grey212121ToWhite};
101101
border: 1px solid black;
102102
border-radius: 10px;
103103
height: 50px;
@@ -108,14 +108,6 @@ margin: 1rem;
108108
color: ${props => props.theme.primaryColor};
109109
}
110110
111-
.options {
112-
color: ${props => props.theme.textColor};
113-
}
114-
115-
.formRight option {
116-
color: black;
117-
}
118-
119111
.custom-arrow {
120112
background-color: white;
121113
width: 2rem;
@@ -146,8 +138,9 @@ margin: 1rem;
146138
border-radius: 10px;
147139
padding: .5rem .5rem;
148140
font-size: .85rem;
149-
background: linear-gradient(90deg, rgba(0,179,159,0.15) 0%, rgba(208,228,228,.7) 40%);
141+
background: ${props => props.theme.grey212121ToWhite};
150142
color: ${props => props.theme.primaryColor};
143+
resize: none;
151144
}
152145
153146
.text-field:focus {

0 commit comments

Comments
 (0)