主权项 |
1. A method comprising:
receiving, by one or more computers and from a user device, a search query; obtaining, by the one or more computers, device information that indicates:
a size of a display of the user device, andan available font or a font size; obtaining, by the one or more computers, a set of search results responsive to the search query; determining, by the one or more computers, a text capacity of a user interface provided for display via the display of the user device based on the size of the display and the available font or font size; in response to determining a text capacity of a user interface provided for display via the display of the user device based on the size of the display and the available font or font size, modifying, by the one or more computers, textual data associated with the set of search results to limit a portion of the user interface, utilized to display the set of search results, to a predetermined amount of the user interface that is less than the text capacity of the user interface; and providing, by the one or more computers, the set of search results and the modified textual data as a response to the search query. |