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

st.time_input has different height than other elements #8706

Closed
3 of 4 tasks
jrieke opened this issue May 18, 2024 · 2 comments · Fixed by #8797
Closed
3 of 4 tasks

st.time_input has different height than other elements #8706

jrieke opened this issue May 18, 2024 · 2 comments · Fixed by #8797
Labels
feature:st.time_input priority:P3 status:confirmed Bug has been confirmed by the Streamlit team type:bug Something isn't working

Comments

@jrieke
Copy link
Collaborator

jrieke commented May 18, 2024

Checklist

  • I have searched the existing issues for similar issues.
  • I added a very descriptive title to this issue.
  • I have provided sufficient information below to help reproduce this issue.

Summary

See screenshot below, time input is a tiny bit taller than date input and other elements:
CleanShot 2024-05-18 at 04 19 07

Reproducible Code Example

Open in Streamlit Cloud

import streamlit as st

st.date_input("Date input")
st.time_input("Time input")

Steps To Reproduce

No response

Expected Behavior

No response

Current Behavior

No response

Is this a regression?

  • Yes, this used to work in a previous version.

Debug info

  • Streamlit version: 1.34.1
  • Python version:
  • Operating System:
  • Browser:

Additional Information

No response

@jrieke jrieke added type:bug Something isn't working status:needs-triage Has not been triaged by the Streamlit team feature:st.time_input labels May 18, 2024
Copy link

If this issue affects you, please react with a 👍 (thumbs up emoji) to the initial post.

Your feedback helps us prioritize which bugs to investigate and address first.

Visits

@LukasMasuch LukasMasuch added status:confirmed Bug has been confirmed by the Streamlit team and removed status:needs-triage Has not been triaged by the Streamlit team labels May 18, 2024
@LukasMasuch
Copy link
Collaborator

Related to this issue: #8027 -> we probably should unify everything around a shared height of 40px.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature:st.time_input priority:P3 status:confirmed Bug has been confirmed by the Streamlit team type:bug Something isn't working
Projects
None yet
3 participants