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

Add variable and default for min-width of .toggle-container #128

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

samuelportz
Copy link

@samuelportz samuelportz commented Oct 24, 2017

When using a very long label text the toggle-bar is compress. Using --paper-toggle-button-label-spacing makes no difference.
Setting the min-width of the toggle-bar fixes this behavior.

Expected outcome

The toggle-container should not shrink below the set width of 36px.

Actual outcome

The toggle-container shrinks below 36px

JS Bin

Example

This fixes #127

@samuelportz samuelportz changed the title Added variable and default for min-width of .toggle-container Add variable and default for min-width of .toggle-container Oct 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Toogle Button background bar scaling could be improved
2 participants