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

Assorted visual tweaks #7050

Merged
merged 13 commits into from Jul 24, 2023
Merged

Assorted visual tweaks #7050

merged 13 commits into from Jul 24, 2023

Conversation

sfc-gh-jgarcia
Copy link
Contributor

@sfc-gh-jgarcia sfc-gh-jgarcia commented Jul 20, 2023

Describe your changes

This PR addresses a handful of visual tweaks, namely:

  1. Makes library links blue, to make them consistent with the app interface (reported by @jrieke);
  2. Fixes the small bottom padding after scrolling in the sidebar (reported by Andreas Braendhaugen);
  3. Hides the - and + buttons for st.number_input when its width is smaller than 120px (reported by @jrieke).

Closes #894

Before:

Screenshot 2023-07-20 at 2 23 48 PM

Untitled (1) Untitled

After:

Screenshot 2023-07-20 at 2 26 50 PM

Untitled.mp4

Screenshot 2023-07-20 at 2 54 50 PM

Notion links

Testing Plan

  • Explanation of why no additional tests are needed: N/A
  • Unit Tests (JS and/or Python): Added
  • E2E Tests: Added
  • Any manual testing needed? Yes

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@sfc-gh-jgarcia sfc-gh-jgarcia marked this pull request as ready for review July 20, 2023 21:38
@vdonato vdonato merged commit 6e5272e into develop Jul 24, 2023
47 checks passed
@vdonato vdonato deleted the assorted-visual-tweaks branch July 24, 2023 21:19
eric-skydio pushed a commit to eric-skydio/streamlit that referenced this pull request Dec 20, 2023
* Update link color

* Update sidebar bottom padding

* Hide number input controls when size is too small

* Remove tests

* Add new JS test for small number inputs

* Update e2e tests

* Add missing number input tests

* Update number input test

* Override link color for a tag as well in globalStyles

* Add modal snapshots

* Move breakpoint value to primitives file

* Update number input test

* Revert global change for links
zyxue pushed a commit to zyxue/streamlit that referenced this pull request Mar 22, 2024
* Update link color

* Update sidebar bottom padding

* Hide number input controls when size is too small

* Remove tests

* Add new JS test for small number inputs

* Update e2e tests

* Add missing number input tests

* Update number input test

* Override link color for a tag as well in globalStyles

* Add modal snapshots

* Move breakpoint value to primitives file

* Update number input test

* Revert global change for links
zyxue pushed a commit to zyxue/streamlit that referenced this pull request Apr 16, 2024
* Update link color

* Update sidebar bottom padding

* Hide number input controls when size is too small

* Remove tests

* Add new JS test for small number inputs

* Update e2e tests

* Add missing number input tests

* Update number input test

* Override link color for a tag as well in globalStyles

* Add modal snapshots

* Move breakpoint value to primitives file

* Update number input test

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

Successfully merging this pull request may close these issues.

Remove number_input -/+ step toggles option
4 participants