Commit 0d2e149a authored by Siedschlag, Lennart's avatar Siedschlag, Lennart
Browse files

search fix

parent 8deed183
Pipeline #7637 passed with stage
in 4 minutes and 51 seconds
......@@ -68,7 +68,7 @@
<textarea type="text" class="form-control" id="note" placeholder="note"
[(ngModel)]="appointment.note" name="note" rows="4"></textarea>
<div id="stern">
fields with a <b>*</b> are required
fields with an <b>*</b> are required
</div>
</div>
......
.search-result {
border-bottom: 1px solid gray;
border-left: 1px solid gray;
border-right: 1px solid gray;
width:195px;
height: 20px;
padding: 5px;
background-color: white;
cursor: pointer;
}
#search-box {
width: 200px;
height: 20px;
}
\ No newline at end of file
<div id="search-component">
<input #searchBox id="search-box"
<input #searchBox id="search"
placeholder="Search"
(change)="search(searchBox.value)"
(keyup)="search(searchBox.value)" />
<div>
<div id="resultWrapper">
<div *ngFor="let contact of contacts | async"
(click)="contact.delete()" class="search-result" >
{{contact.username}}
......
......@@ -4,4 +4,20 @@ html, body{
height: 100vh;
margin: 0;
background: #04202C;
}
#search-component > #search-box {
width: 200px;
height: 30px;
}
#search-component > div {
position: absolute;
}
.search-result.search-result.search-result.search-result{
position: relative;
z-index: 90000;
cursor: pointer;
width: 200px;
height: 30px;
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment