Skip to content

Hides password reset <p class="pw-login-links"> with display:none #17

@Jonatan-r

Description

@Jonatan-r

With AdminThemeBoss enabled this piece of the login screen is hidden:
<p class="pw-login-links"><a href="./?forgot=1"><i class="fa fa-question-circle fa-fw"></i> Forgot your password?</a> <br><a href="/"><i class="fa fa-home fa-fw"></i> Quonga.dk</a></p>

It results in this (custom colourscheme and logo here) which looks quite clean I agree:

Skærmbillede 2020-09-30 kl  00 20 51

– But isn't the "Reset Password" option quite important?

In the css file (AdminThemeBoss/uikit/dist/css/uikit.colourname.css) on line 16721:
.pw body.ProcessLogin #pw-content-body p:last-child { display: none }

If you just remove the display:none property it will look like this:

Skærmbillede 2020-09-30 kl  00 29 29

I'd suggest this instead:

`.pw body.ProcessLogin #pw-content-body p:last-child {
display: flex;
justify-content: center;
margin-top: 40px;
margin-bottom: 0;
}

.pw body.ProcessLogin #pw-content-body p:last-child a:last-child {
display: none;
}`

Resulting in this:

Skærmbillede 2020-09-30 kl  00 28 19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions