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

css tooltip does not like overflow on parent div #37

Open
clandmeter opened this issue Jan 25, 2018 · 4 comments
Open

css tooltip does not like overflow on parent div #37

clandmeter opened this issue Jan 25, 2018 · 4 comments

Comments

@clandmeter
Copy link
Member

In the flagged section when there are limited results the tooltip applied to the message icon will be hidden behind the parent div which has overflow-x:auto set. We need overflow-x to make the table kind of usable on smaller screens.
One solution would be to make the parent div min-height set to 100% to allow the tooltip to use the extra space below the table, but this does not work.
A solution without the use of JavaScript would be preferred.

@clandmeter
Copy link
Member Author

@stwa i remember you helped us with the hamburger menu. Do you have some suggestion to fix this without using js?

@stwa
Copy link

stwa commented Jan 25, 2018

You could work around the 100% height problem using flex layout, browser support is pretty good nowadays. Unfortunately it's a bit ugly because of the vertical scrollbar as seen in my example.

tooltip-flex

Anyway, I'm not sure if I understand the problem correctly, but why don't you let the table grow and use the full-height scrollbars instead of setting overflow-x on the tables parent div?

@clandmeter
Copy link
Member Author

@stwa i pm'ed you on irc but you didn't reply.

Im not sure what you mean about let the table grow?

@stwa
Copy link

stwa commented Feb 1, 2018

Hacky pull request #39 which makes it work in current firefox and chromium (at least?).

@TBK TBK mentioned this issue Feb 23, 2020
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

No branches or pull requests

2 participants