sass / sass-site

Sass Website
https://sass-lang.com
Other
314 stars 234 forks source link

.Doc_Search-Button small design fix #853

Open Ssenseii opened 1 year ago

Ssenseii commented 1 year ago

Link to Issue

This is not really a big deal, I just noticed that the search input is a little off on mobile: image

The fix is super easy: Convert margin: 0 0 0 16px; to margin-inline: 16px and it'll look perfect image to image

it'll look like this

image

This should work on all instances of search input.

Sorry for bothering with such banal input lol

nex3 commented 1 year ago

We don't actually style this directly—it comes from the Algolia DocSearch styles that get pulled in during initialization. We can style the container, though, so if you have suggestions for how to handle that you could create a PR for https://github.com/sass/sass-site/blob/main/source/assets/sass/components/_docsearch.scss.

Ssenseii commented 1 year ago

Oh, thank you for the info !!! I'll do just that