Skip to content

Conversation

@erdnaxe
Copy link
Contributor

@erdnaxe erdnaxe commented Aug 28, 2021

The present and unpresent button width is fixed to 5.8em. This is problematic as the content might need more space. By removing the width attribute, the element takes the width it requires.

image
Screenshot before the modification: "Disable" is overflowing to the right the button.

The present and unpresent button width is fixed to 5.8em. This is
problematic as the content might need more space. By removing the width
attribute, the element takes the width it requires.
@jech
Copy link
Owner

jech commented Aug 28, 2021

The point here is that we want the Enable and Disable buttons to have the same width, so that the interface doesn't move around when the user toggles.

@erdnaxe
Copy link
Contributor Author

erdnaxe commented Aug 28, 2021

What could maybe be done is to always display "Enable" and "Disable" and then set the opacity. Doing this the button will always take the width of the longest word.

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.

2 participants