diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-02-03 14:04:42 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-02-13 16:32:58 +0100 |
commit | 52cc0d54850e0acf069d2f95d063826f16ff5238 (patch) | |
tree | fb7450bc09fc5aa34c480bd197407c4881b85299 /client/src/app/header/header.component.html | |
parent | 6af662a5961b48ac12682df2b8b971060a2cc67d (diff) | |
download | PeerTube-52cc0d54850e0acf069d2f95d063826f16ff5238.tar.gz PeerTube-52cc0d54850e0acf069d2f95d063826f16ff5238.tar.zst PeerTube-52cc0d54850e0acf069d2f95d063826f16ff5238.zip |
Gracefully downsize search bar for mobile devices
Diffstat (limited to 'client/src/app/header/header.component.html')
-rw-r--r-- | client/src/app/header/header.component.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/header/header.component.html b/client/src/app/header/header.component.html index 074bebf21..561ee6c16 100644 --- a/client/src/app/header/header.component.html +++ b/client/src/app/header/header.component.html | |||
@@ -1,9 +1,9 @@ | |||
1 | <my-search-typeahead> | 1 | <my-search-typeahead class="w-100 d-flex justify-content-end"> |
2 | <input | 2 | <input |
3 | type="text" id="search-video" name="search-video" [attr.aria-label]="ariaLabelTextForSearch" i18n-placeholder placeholder="Search locally videos, channels…" | 3 | type="text" id="search-video" name="search-video" [attr.aria-label]="ariaLabelTextForSearch" |
4 | [(ngModel)]="searchValue" (keyup.enter)="doSearch()" | 4 | i18n-placeholder placeholder="Search videos, channels… known by this instance" [(ngModel)]="searchValue" |
5 | > | 5 | > |
6 | <span (click)="doSearch()" class="icon icon-search"></span> | 6 | <span class="icon icon-search"></span> |
7 | </my-search-typeahead> | 7 | </my-search-typeahead> |
8 | 8 | ||
9 | <a class="upload-button" routerLink="/videos/upload"> | 9 | <a class="upload-button" routerLink="/videos/upload"> |