Skip to content

Remove extra margin from warning messages in authenticate page - #15407

Merged
MorrisJobke merged 1 commit into
masterfrom
remove-extra-margin-from-warning-messages-in-authenticate-page
May 7, 2019
Merged

Remove extra margin from warning messages in authenticate page#15407
MorrisJobke merged 1 commit into
masterfrom
remove-extra-margin-from-warning-messages-in-authenticate-page

Conversation

@danxuliu

Copy link
Copy Markdown
Member

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 <danxuliu@gmail.com>
@danxuliudanxuliu added bug design Design, UI, UX, etc. 3. to review Waiting for reviews labels May 7, 2019
@danxuliudanxuliu added this to the Nextcloud 17 milestone May 7, 2019
@danxuliu

Copy link
Copy Markdown
MemberAuthor

/backport to stable16

@rullzerrullzer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I like it

@juliusknorrjuliusknorr left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
Member

Choose a reason for hiding this comment

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

🙈

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

🤷‍♂️

Copy link
Copy Markdown
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 masterMay 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
Copy Markdown

backport to stable16 in #15409

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

Labels

3. to reviewWaiting for reviewsbugdesignDesign, UI, UX, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@danxuliu@rullzer@MorrisJobke@juliusknorr