Skip to content

Commit

Permalink
added responsive on toolbar (search)
Browse files Browse the repository at this point in the history
  • Loading branch information
RheuX committed Oct 22, 2024
1 parent 3b1f11c commit 2ccaaac
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<!-- Request template -->
<mat-toolbar>
<mat-toolbar class="responsive-toolbar">
<button class="btnBack" mat-icon-button routerLink="/manager">
<mat-icon>arrow_back</mat-icon>
</button>
<span i18n>myPlanet Report</span>
<span class="toolbar-fill"></span>
<mat-icon>search</mat-icon>
<mat-form-field class="font-size-1">
<mat-form-field class="font-size-1 search-bar">
<input matInput (keyup)="filterData($event.target.value)" [value]="searchValue" i18n-placeholder placeholder="Search">
</mat-form-field>
</mat-toolbar>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@import '../../variables';

@media (max-width: $screen-sm) {
.search-bar {
overflow: hidden;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import { switchMap, map } from 'rxjs/operators';
import { findDocuments } from '../../shared/mangoQueries';

@Component({
templateUrl: './reports-myplanet.component.html'
templateUrl: './reports-myplanet.component.html',
styleUrls: ['./reports-myplanet.component.scss'],
})
export class ReportsMyPlanetComponent implements OnInit {

Expand Down

0 comments on commit 2ccaaac

Please sign in to comment.