-
Notifications
You must be signed in to change notification settings - Fork 35
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
Prevent over-sizing of group heatmaps in nested columns #133
Conversation
With `width:100%` only the gap between the nested columns would disappear. Hence, we must subtract the gap from the width to stay inline with the (nested column) grid. Caleydo/lineup_app#46
Thanks for pointing out. It's fixed now. I needed to escape the Sass variable. |
one thing that I didn't get. when you tested this PR with the buggy CSS selector and still the behavior wasn't there anymore. How can this fix, fix the bug or is there a bug at all? |
Well, I just didn't test it the way I should have tested it. 😄 But intesterstingly the sass-lint also didn't warn me... 🤔 |
can you please update the test file such that I can reproduce the initial bug |
closes Caleydo/lineup_app#46
prerequisites:
Summary
The over-sizing is caused by the increased row height for aggregated groups.
Reducing the row height to the standard
18px
will result in a normal heatmap width for nested columns.As soon as I increase the height the width of the nested heatmaps increases exceeds the column.
By adding a
width:100%
the heatmaps stay within their column width.However, now the gap between the nested columns disappeared. Hence, we must subtract the gap from the width to stay inline with the (nested column) grid.