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

Unify dropdown styles for st.selectbox, st.multiselect, and st.date_input #8705

Open
2 tasks done
jrieke opened this issue May 18, 2024 · 1 comment
Open
2 tasks done

Comments

@jrieke
Copy link
Collaborator

jrieke commented May 18, 2024

Checklist

  • I have searched the existing issues for similar feature requests.
  • I added a descriptive title and summary to this issue.

Summary

These elements all use slightly different dropdown styles and we should unify.

st.selectbox:

CleanShot 2024-05-18 at 04 14 17

st.multiselect – almost the same as selectbox but the dropdown is a bit higher and overlaps the element slightly:

CleanShot 2024-05-18 at 04 14 27

st.date_input – this one looks completely different, both spacing and shadow are different:

CleanShot 2024-05-18 at 04 15 06

When doing this, we should probably also have a look at other elements that have a dropdown and make sure they are all consistent.

Why?

Consistency 😉

How?

No response

Additional Context

No response

@jrieke jrieke added the type:enhancement Requests for feature enhancements or new features label May 18, 2024
Copy link

To help Streamlit prioritize this feature, react with a 👍 (thumbs up emoji) to the initial post.

Your vote helps us identify which enhancements matter most to our users.

Visits

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

No branches or pull requests

1 participant