feat: add search input type with icon support and update styles
This commit is contained in:
@@ -14,6 +14,16 @@
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.input-search-icon {
|
||||
position: absolute;
|
||||
right: 1rem;
|
||||
top: 50%;
|
||||
z-index: 1;
|
||||
color: #495057;
|
||||
transform: translateY(-50%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
min-height: 40px;
|
||||
padding: 0.625rem 1rem;
|
||||
@@ -29,6 +39,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.input-with-search-icon {
|
||||
padding-right: 2.5rem;
|
||||
}
|
||||
|
||||
input[type='file'].form-control {
|
||||
padding-right: 1rem;
|
||||
color: transparent;
|
||||
|
||||
Reference in New Issue
Block a user