Add margin-top to password reset content - #7427
Open
idumlupinar wants to merge 3 commits into
Open
Conversation
When a user receives the password reset link and tries to set their password, the tooltip containing the complexity requirements is partially hidden. It is due to the margin of .dnnPasswordResetContent
valadas
requested changes
Aug 4, 2026
valadas
left a comment
Contributor
There was a problem hiding this comment.
This may be a problem using other themes. I would rather look into the default theme for a fix, maybe a z-offset issue or something about how the header is made. But only doing it here might cause it to look strange when used in other themes.
idumlupinar
marked this pull request as draft
August 5, 2026 05:48
Removed margin-top from .dnnPasswordResetContent as it might affect custom Themes. Planning to adjust Aperture theme instead.
Added custom margin for the password reset form to address bug dnnsoftware#7065.
idumlupinar
marked this pull request as ready for review
August 6, 2026 20:55
Contributor
Author
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #7065.
When a user receives the password reset link and tries to set their password, the tooltip containing the complexity requirements is partially hidden. It is due to the margin of .dnnPasswordResetContent CSS class.
Summary
Initially, I added the value to \admin\Security\module.css with 60px specification.
.dnnPasswordResetContent { width:550px; margin-top: 60px; }Per @valadas' suggestion I decided to try adding the value in Aperture theme's login component on \DNN Platform\Skins\Aperture\src\scss\components_login.scss
with a slight difference. Instead of 60px I used 4rem. Translates to 64px. Looked good on my desktop and mobile devices.