Skip to content

Commit

Permalink
Use block for input icons, brings FF support
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Jun 17, 2020
1 parent a0334bc commit 2a74182
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/inputtext/InputText.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,18 @@
.p-input-icon-left,
.p-input-icon-right {
position: relative;
display: inline-block;
}

.p-input-icon-left > i,
.p-input-icon-right > i {
position: absolute;
top: 50%;
margin-top: -.5rem;
}

.p-fluid .p-input-icon-left,
.p-fluid .p-input-icon-right {
display: block;
width: 100%;
}

0 comments on commit 2a74182

Please sign in to comment.