X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fheader%2Fsearch-typeahead.component.scss;h=c2f5a1828c87a423ff33027637091ec8330bd9c9;hb=52cc0d54850e0acf069d2f95d063826f16ff5238;hp=c410d47345b3e35ce43d50a12a703863e9f8a372;hpb=6af662a5961b48ac12682df2b8b971060a2cc67d;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/header/search-typeahead.component.scss b/client/src/app/header/search-typeahead.component.scss index c410d4734..c2f5a1828 100644 --- a/client/src/app/header/search-typeahead.component.scss +++ b/client/src/app/header/search-typeahead.component.scss @@ -46,6 +46,18 @@ my-suggestions ::ng-deep ul { transition: box-shadow .3s ease, width .2s ease; } + @media screen and (min-width: 500px) { + margin-left: 10px; + } + + @media screen and (max-width: 800px) { + flex: 1; + + ::ng-deep input { + width: unset; + } + } + ::ng-deep span { right: 10px; } @@ -59,7 +71,9 @@ my-suggestions ::ng-deep ul { &:focus, ::ng-deep &:focus-within { & > div:last-child { - display: initial !important; + @media screen and (min-width: 500px) { + display: initial !important; + } #typeahead-help, #typeahead-instructions,