-
Notifications
You must be signed in to change notification settings - Fork 43
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
Handle long item names #347
base: main
Are you sure you want to change the base?
Conversation
ce821f4
to
dcc1a5f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dcc1a5f
to
564e22a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dce8b6a
to
564e22a
Compare
As discussed offline we will not be limiting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Html::tag( | ||
'a', | ||
['href' => $bpUrl], | ||
HtmlElement::create('span', ['class' => 'text no-wrap', 'title' => $bp->getTitle()], $bp->getTitle()) | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The span
is not really required here.
Please add as following:
Html::tag( | |
'a', | |
['href' => $bpUrl], | |
HtmlElement::create('span', ['class' => 'text no-wrap', 'title' => $bp->getTitle()], $bp->getTitle()) | |
) | |
Html::tag('a', | |
['href' => $bpUrl, 'class' => ['text', 'no-wrap'], 'title' => $bp->getTitle()]], | |
$bp->getTitle() | |
) |
- And you do not need the new classes, add the properties to anchor tag.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For breadcrumbs the text is wrapped with span because overflow:hidden
will also hide ::before
and ::after
content of anchor tag, that means the arrows of breadcrumbs will be hidden. But it makes sense not to wrap the text in node tiles.
564e22a
to
d27ad95
Compare
d27ad95
to
66f97d4
Compare
LGTM 🎉 |
66f97d4
to
33e415c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me.
438395f
to
ec53c8a
Compare
Am I the only one who has a problem with the overflow in the tree view ??? Overtaking.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ec53c8a
to
33e415c
Compare
33e415c
to
ec53c8a
Compare
dacaae9
to
20ac992
Compare
20ac992
to
b50285b
Compare
fixes #285
requires Icinga/ipl-web#182