Skip to content

Add style of change display of overflow text - #1414

Merged
ssalinas merged 6 commits into
masterfrom
runnow-argument-overflow
Feb 13, 2017
Merged

ssalinas merged 6 commits into
masterfrom
runnow-argument-overflow

Conversation

@PtrTeixeira

Copy link
Copy Markdown
Contributor

Add a style to change the display of the overflow text. This will break
between words if possible, and if not possible will force a line wrap
when it hits the maximum with.

/cc @ssalinas

Add a style to change the display of the overflow text. This will break
between words if possible, and if not possible will force a line wrap
when it hits the maximum with.
@ssalinas

ssalinas commented Feb 6, 2017

Copy link
Copy Markdown
Contributor

will be nice to not have the command line args go off the screen anymore 💃

@markhazlewood

Copy link
Copy Markdown

@PtrTeixeira Could we see an example of the new wrapping behavior? In general I'd recommend against having dropdown items take up multiple lines and instead use an ellipsis w/ tooltip overflow pattern. But would like to see this in context.

@PtrTeixeira

Copy link
Copy Markdown
Contributor Author

This is what I had part way through the working on this:
screen shot 2017-02-06 at 12 50 01 pm

I didn't think of using a tooltip to get the full content for the menu items. Will move over to that.

This prefers hiding the text with ellipsis and using a tooltip to
display the full content rather than wrapping text inside of dropdown
menu items. It uses the Bootstrap styled tooltips rather than system
native tooltips.
@ssalinas

ssalinas commented Feb 7, 2017

Copy link
Copy Markdown
Contributor

👍 thanks for the suggestion mark

Force the text in the tooltip onto a single line, which prevents the
line break from appearing from a different spot. Also remove the test
content that I had used instead of the actual content.  Oops.
@ssalinas ssalinas modified the milestone: 0.14.0 Feb 9, 2017
@ssalinas

ssalinas commented Feb 9, 2017

Copy link
Copy Markdown
Contributor

@PtrTeixeira on staging right now it seems that additional arguments are not showing up in the history. A previous list of args with > 1 arg seems to only show the first one.

That is, if the arguments were of the form `['--arg1', '--arg2']`, then
`--arg1` and `--arg2` should not individually be broken, but also should
have a line to themselves.
@ssalinas
ssalinas merged commit e5d1909 into master Feb 13, 2017
@ssalinas
ssalinas deleted the runnow-argument-overflow branch February 13, 2017 15:55
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.

3 participants