Skip to content

Commit

Permalink
Few fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub41 committed Dec 31, 2016
1 parent 754dace commit d65e146
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
4 changes: 4 additions & 0 deletions Angular2-FrontEnd/src/app/home/home.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ header h1 {
float: right;
margin-top: 20px;
}

.table>thead>tr>th {
padding-left: 5px!important;
}
2 changes: 0 additions & 2 deletions Angular2-FrontEnd/src/app/home/home.component.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<header class="header navbar-fixed-top">
<h1>CPH - Flight Informations</h1>
</header>
<!-- <div class="header navbar-fixed-top">
</div> -->
<div class="container">
<div class="row top-margin-space">
<div class="col-sm-12 col-md-12">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#adv-search{
z-index: 0;
width: 100%;
text-align: center;
text-align: left;
}
.dropdown.dropdown-lg .dropdown-menu {
margin-top: -1px;
Expand Down Expand Up @@ -32,17 +32,20 @@
}

.marginForSearch {
margin: 10px 10px 0 0;
float:left;
width: 30%;
margin: 10px 10px 0 0;
float:left;
width: 30%;
min-width:200px;
}
.marginForSearchButton {
margin: 10px 10px 0 0;
float:left;
margin: 10px 10px 0 0;
float:left;
}

@media screen and (max-width: 768px) {
#adv-search{
margin: 0 auto;
}
.dropdown.dropdown-lg {
position: static !important;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
<div class="form-group col-xs-12 col-md-12 col-lg-12">
<div class="input-group" id="adv-search">
<div class="marginForSearch">
<input type="text" class="form-control" placeholder="Search for flight..." [(ngModel)]="searchStr" name="searchStr" (keyup)="inputSearch()" (keyup.enter)="searchFlights()"/>
<input type="text" class="form-control" placeholder="Search for flight..."
[(ngModel)]="searchStr" name="searchStr" (keyup)="inputSearch()"
(keyup.enter)="searchFlights()"/>
</div>
<div class="marginForSearch">
<my-date-picker [options]="myDatePickerOptions" (dateChanged)="onDateChanged($event)"></my-date-picker>
Expand Down

0 comments on commit d65e146

Please sign in to comment.