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

Removed outer scrollbar in questionnaire #982

Merged
merged 1 commit into from
Jan 12, 2022

Conversation

denektenina
Copy link
Contributor

To avoid the outer scrollbar, the inner div is set to a height that needs to be precisely the height of the view. This is calculated by fetching the heights and margins of some of the view elements, but for some reason the scroll bar got smaller, but didn't disappear. In this PR I simply added one pixel to the height, which made it finally disappear.

Before:
image

After:
image

Could be smart to pull this down to test, in case it only works on my machine.

@denektenina denektenina self-assigned this Jan 4, 2022
@ReedOnly ReedOnly linked an issue Jan 6, 2022 that may be closed by this pull request
To avoid the outer scrollbar, the inner div is set to a height that needs to be precisely the height of the view. This is calculated by fetching the heights and margins of some of the view elements, but for some reason the scroll bar got smaller, but didn't disappear. In this PR I simply added one pixel to the height, which made it finally disappear.
@denektenina denektenina merged commit a0f7c65 into equinor:master Jan 12, 2022
@denektenina denektenina deleted the outer-scrollbar branch January 12, 2022 10:19
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.

BMT: Possibility to increase scroll marker size?
2 participants