Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Temp fix Resource Manager default height #5557

Merged
merged 2 commits into from
Feb 26, 2023

Conversation

jeremy-farrance
Copy link
Contributor

Temporary CSS-only fix for next DNN patch release to give the Resource Manager a better default height.

Summary

In brief, the default height is currently hard-coded to 400px. This fix instead bases the height on the browser's height using "100vh - 25rem" which basically means the resource manager's height will be (dynamically) about 400px less than the browser's height (to account for the theme's header and footer at least). We've also set a min-height of 30rem (appx 480px) so scroll bars appear, but everything functions as expected.

Temp fix, but does not close Issue #5361

Temporary fix for next patch release to give the Resource Manager a better default height.

In brief, the default height is currently hard-coded to 400px. This CSS-only fix instead bases the height on the browser's height using "100vh - 25rem" which basically means the resource manager's height will be (dynamically) about 400px less than the browser's height (to account for the theme's header and footer at least). We've also set a min-height of 30rem (appx 480px).

Read Issue dnnsoftware#5361 for more details.
dnnsoftware#5361
…height-patch

Temp fix Resource Manager default height
@jeremy-farrance
Copy link
Contributor Author

jeremy-farrance commented Feb 24, 2023

@microsoft-github-policy-service agree

Copy link
Contributor

@valadas valadas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks fine to me

Copy link
Contributor

@david-poindexter david-poindexter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome - thank you for the contribution @jeremy-farrance 🎉

@jeremy-farrance
Copy link
Contributor Author

@microsoft-github-policy-service agree

@david-poindexter david-poindexter merged commit f539753 into dnnsoftware:develop Feb 26, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants