Турция и Москва · фактыTurkey & Moscow

«Сортировка» при крупном тексте — без прокрутки вбок«Sort» with large text — no sideways scrolling

· Открыть на сайтеOpen on the site

ЦельGoal

Инвестор на узком телефоне, у которого в браузере текст увеличен вдвое, видит список «Сортировка» с его стрелкой в пределах экрана, и каталог не прокручивается вбок.An investor on a narrow phone whose browser shows text at double size sees the «Sort» list with its arrow within the screen, and the catalogue does not scroll sideways.

ЗадачаProblem

Список «Сортировка» был шириной в самый длинный свой вариант («highest price per m²»). При тексте 200 % на экране 320 px на английской главной и /lots/ он был шире экрана, и страница становилась шире экрана на 38 px — с мышью и на сенсорном экране; стрелка списка была за краем. На русских страницах и с 375 px переполнения не было.The «Sort» list was as wide as its longest option («highest price per m²»). With text at 200 % on a 320 px screen, on the English home page and /lots/ it was wider than the screen, and the page became 38 px wider than the screen — with a mouse and on a touch screen; the list's arrow was past the edge. On the Russian pages and from 375 px there was no overflow.

Как решилиHow it was solved

До и послеBefore and after

До (320 px, сенсорный экран, текст 200 %, английская страница /lots/): стрелка списка «Сортировка» за краем экрана / Before (320 px, touch screen, text at 200 %, /lots/): the arrow of the «Sort» list is past the edge of the screen
До (320 px, сенсорный экран, текст 200 %, английская страница /lots/): стрелка списка «Сортировка» за краем экранаBefore (320 px, touch screen, text at 200 %, /lots/): the arrow of the «Sort» list is past the edge of the screen
После: список в пределах экрана, стрелка видна, «m²» обрезано / After: the list fits on the screen, the arrow is visible, «m²» is cut off
После: список в пределах экрана, стрелка видна, «m²» обрезаноAfter: the list fits on the screen, the arrow is visible, «m²» is cut off