Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Adjust room name input to default height for inputs from server #1712

Conversation

danxuliu
Copy link
Member

The default height for input elements, as well as the confirm icons inside them, has been changed in server to 34px for Nextcloud 16; this pull request adjusts the room name input to that new height.

Before:
Room-Name-Input-Height-Before

After: (hard to see, but now the elements below it are not moved when the input field is shown)
Room-Name-Input-Height-After

In Nextcloud 16 the default height for input elements, as well as the
confirm icons inside them, is 34px. This caused the room name input to
change its height from 44px to 42px, so it is no longer needed to pull
it up 2px to prevent moving the items below when it is shown. In a
similar way, it also caused the confirm icon to change its height from
42px to 34px; it was misplaced down 1px, so now it is positioned 4px
from the top (instead of 5px to keep the same position as before).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Copy link
Member

@Ivansss Ivansss left a comment

Choose a reason for hiding this comment

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

Tested and works 👍

@nickvergessen nickvergessen modified the milestones: 6.0.0, 💚 Next Major Apr 12, 2019
@nickvergessen nickvergessen merged commit 840eb0b into master Apr 12, 2019
@nickvergessen nickvergessen deleted the adjust-room-name-input-to-default-height-for-inputs-from-server branch April 12, 2019 10:08
@danxuliu
Copy link
Member Author

/backport to stable16

@backportbot-nextcloud
Copy link

backport to stable16 in #1717

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

Successfully merging this pull request may close these issues.

3 participants