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

fix(shiny-preset): Adjust slider handle size and position to better center on line and bar #692

Merged
merged 2 commits into from
Jul 18, 2023

Conversation

gadenbuie
Copy link
Member

@gadenbuie gadenbuie commented Jul 18, 2023

Fixes #691

Before

image

      

After

image

image       image

Copy link
Collaborator

@schloerke schloerke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@@ -13,7 +13,7 @@
}

.irs-handle {
top: $handle_radius;
top: $top - ($handle_height / 2) + ($line_height / 2);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these calculations are 👨‍🍳

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📏 📐

@gadenbuie gadenbuie merged commit 2ff4457 into main Jul 18, 2023
12 checks passed
@gadenbuie gadenbuie deleted the refresh/slider-nudges branch July 18, 2023 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shiny preset: slider handle alignment
4 participants