Skip to content

Conversation

@danxuliu
Copy link
Member

@danxuliu danxuliu commented May 7, 2019

In the public share authentication page the form elements appear inside a container that uses the warning CSS class. When the given password is wrong a warning message is shown inside that container; this message uses the warning CSS class too, so the top margin set for .warning elements need to be removed in that case.

The extra margin is there even in Nextcloud 14, but as it is just a style fix I think that backporting just to Nextcloud 16 is enough (but feel free to call backportbot if you disagree ;-) ).

Before:
PublicShareAuth-Warning-Message-Before

After:
PublicShareAuth-Warning-Message-After

In the public share authentication page the form elements appear inside
a container that uses the "warning" CSS class. When the given password
is wrong a warning message is shown inside that container; this message
uses the "warning" CSS class too, so the top margin set for ".warning"
elements need to be removed in that case.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@danxuliu danxuliu added bug design Design, UI, UX, etc. 3. to review Waiting for reviews labels May 7, 2019
@danxuliu danxuliu added this to the Nextcloud 17 milestone May 7, 2019
@danxuliu
Copy link
Member Author

danxuliu commented May 7, 2019

/backport to stable16

Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

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

I like it

Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

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

👍

background-color: transparent !important;
}

.warning > .warning {
Copy link
Member

Choose a reason for hiding this comment

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

🙈

Copy link
Member Author

Choose a reason for hiding this comment

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

🤷‍♂️

Copy link
Member

Choose a reason for hiding this comment

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

🙃

@MorrisJobke MorrisJobke merged commit 22f3306 into master May 7, 2019
@MorrisJobke MorrisJobke deleted the remove-extra-margin-from-warning-messages-in-authenticate-page branch May 7, 2019 10:11
@backportbot-nextcloud
Copy link

backport to stable16 in #15409

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug design Design, UI, UX, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants