1
0
Fork 0

Update styling.md

This commit is contained in:
Peter Villani 2018-09-03 15:40:54 +02:00 committed by GitHub
parent 56499cf859
commit 753efb8cc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,14 +77,14 @@ docsearch({
## Other considerations
Selected suggestion are wrapped in a `.ds-cursor` class. This means that you can
Selected suggestions are wrapped in a `.ds-cursor` class. This means that you can
use `.ds-cursor .algolia-docsearch-suggestion--content` to style the selected
suggestion for example.
On small screens, DocSearch reverts to a single column layout, while the
two-column layout shown in the screenshot is used on larger screens. You can
media queries (for example `@media (min-width: 768px) {}`) to target one or the
other display.
add media queries (for example `@media (min-width: 768px) {}`) to target different
displays.
## Advanced styling