I have two text boxes for two different input. How to make those align right in same line of container. here is the code snippet.
I am using el-form and el-row/el-col.
code:
.search__app {
display: flex;
margin-left:auto;
font-size: 6px;
border-radius: 10px;
border: none;
}
.search__portfolio .filter_option {
width: 200px;
margin-bottom: 10px;
}
.search__portfolio .search_input {
width: 200px;
margin-top: 7px;
}
<el-form>
<el-row :gutter="15"
class="search__app">
<el-col class="filter_option">
<el-input placeholder="Search product based on name"
aria-label="Search product based on name"
@keyup.enter.native="searchProduct"
v-model="filters"></el-input>
</el-col><el-col class="search_input">
<el-input placeholder="Search category based on name"
aria-label="Search category based on name"
@keyup.enter.native="searchCategory"
v-model="filterText">
</el-input>
</el-col>
</el-row>
</el-form>
Now, both boxes are in left side and not able to align it right side in same line. What are the things i have to modify in my code?