Use block for input icons, brings FF support

pull/345/head
cagataycivici 2020-06-17 11:58:55 +03:00
parent a0334bc43d
commit 2a74182397
1 changed files with 7 additions and 0 deletions

View File

@ -57,6 +57,7 @@
.p-input-icon-left, .p-input-icon-left,
.p-input-icon-right { .p-input-icon-right {
position: relative; position: relative;
display: inline-block;
} }
.p-input-icon-left > i, .p-input-icon-left > i,
@ -64,4 +65,10 @@
position: absolute; position: absolute;
top: 50%; top: 50%;
margin-top: -.5rem; margin-top: -.5rem;
}
.p-fluid .p-input-icon-left,
.p-fluid .p-input-icon-right {
display: block;
width: 100%;
} }