Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Doc_Search-Button small design fix #853

Open
Ssenseii opened this issue Oct 1, 2023 · 2 comments
Open

.Doc_Search-Button small design fix #853

Ssenseii opened this issue Oct 1, 2023 · 2 comments
Labels

Comments

@Ssenseii
Copy link

Ssenseii commented Oct 1, 2023

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

@Ssenseii Ssenseii closed this as completed Oct 1, 2023
@Ssenseii Ssenseii reopened this Oct 1, 2023
@nex3
Copy link
Contributor

nex3 commented Oct 3, 2023

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.

@nex3 nex3 added the design label Oct 3, 2023
@Ssenseii
Copy link
Author

Ssenseii commented Oct 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants