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

aside height calculation error #5

Open
stevenkissack opened this issue May 25, 2017 · 0 comments
Open

aside height calculation error #5

stevenkissack opened this issue May 25, 2017 · 0 comments

Comments

@stevenkissack
Copy link

I've just starting using the react version (also trying to change more of it to reactstrap components)

Anyway, I've ran into a strange bug that I don't believe is technically your fault as the calculation seems correct but it is consistent across all browsers which is strange.. the aside tab content when bigger than the container cuts off the bottom of the content

Offending element: .aside-menu-fixed .aside-menu .tab-content

The see the issue: https://genesisui.com/demo/root/bootstrap4-ajax/#main.html
Go to the message tab in the aside and you'll see the bottom message being cut off.

Calculation related rambling:
You use a similar method to size the left nav (VH 100% minus the the topbar nav height) and this works perfectly, so my guess is the extra tabs heading div height calculation is the culprit (padding plus icon font size) This actually looks to be correct but once you use it in practice all browsers seem to overshoot it by 1 VH unit.

Temp fix:
I have a tight deadline so I've simply overridden it and reduced the VH by 1 - All browsers work flawlessly now but this isn't something I'd want to push upstream.

You seem to have much more experience with this so any help would be amazing!

Thanks a bunch for your work, it's a really nice and flexible codebase to work with!

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

1 participant