Skip to content

Commit a605f8a

Browse files
Merge pull request #111 from webdev-dev/master
Form Field Fix #1
2 parents e560dd6 + 101ee41 commit a605f8a

2 files changed

Lines changed: 16 additions & 9 deletions

File tree

dist/_wfui-react.scss

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,17 +1302,20 @@ a.delete-icon {
13021302

13031303
.wfui-description {
13041304
position: absolute;
1305-
top: 21px;
1305+
top: 28px;
13061306
left: calc(100% + 15px);
1307-
width: calc(66.666% - 15px);
1307+
width: calc(50% - 15px);
13081308
padding: 10px;
13091309
margin: 0;
13101310
margin-bottom: 20px;
13111311
background-color: #d9edf7;
13121312
border-radius: 3px;
13131313
font-size: 12px;
1314-
font-weight: normal;
1315-
border-top: 1px solid #fff; }
1314+
font-weight: normal; }
1315+
1316+
.wfui-type-textarea .wfui-description {
1317+
left: calc(66.667% + 15px);
1318+
width: calc(33.333% - 15px); }
13161319

13171320
.wfui-description::after {
13181321
display: none; }
@@ -1334,7 +1337,7 @@ a.delete-icon {
13341337
.wfui-type-listbox,
13351338
.wfui-type-selection-hybrid,
13361339
.wfui-type-table-format {
1337-
width: 60%;
1340+
width: 66.667%;
13381341
position: relative; }
13391342

13401343
.form-control {

src/FormFields/index.scss

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,17 +215,21 @@ a.delete-icon {
215215

216216
.wfui-description {
217217
position: absolute;
218-
top: 21px;
218+
top: 28px;
219219
left: calc(100% + 15px);
220-
width: calc(66.666% - 15px);
220+
width: calc(50% - 15px);
221221
padding: 10px;
222222
margin: 0;
223223
margin-bottom: 20px;
224224
background-color: #d9edf7;
225225
border-radius: 3px;
226226
font-size: 12px;
227227
font-weight: normal;
228-
border-top: 1px solid #fff;
228+
}
229+
230+
.wfui-type-textarea .wfui-description {
231+
left: calc(66.667% + 15px);
232+
width: calc(33.333% - 15px);
229233
}
230234

231235
.wfui-description::after {
@@ -250,7 +254,7 @@ a.delete-icon {
250254
.wfui-type-listbox,
251255
.wfui-type-selection-hybrid,
252256
.wfui-type-table-format {
253-
width: 60%;
257+
width: 66.667%;
254258
position: relative;
255259
}
256260

0 commit comments

Comments
 (0)