Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add some media queries to improve UI on mobile (#3991) #4656

Merged
merged 2 commits into from
Jun 17, 2020
Merged

Add some media queries to improve UI on mobile (#3991) #4656

merged 2 commits into from
Jun 17, 2020

Conversation

TitanNano
Copy link
Contributor

I fixed the requested changes from #3991.

@turt2live turt2live requested a review from a team May 27, 2020 17:56
@turt2live turt2live added the Z-Community-PR Issue is solved by a community member's PR label May 27, 2020
@jryans
Copy link
Collaborator

jryans commented Jun 2, 2020

@TitanNano Thanks for looking at this! Could you include some screenshots of the areas that are changed? I think that would make it easier for us to proceed here.

Comment on lines 150 to 157
@media only screen and (max-width: 480px) {
.mx_AuthBody {
width: auto;
max-width: 500px;
padding: 10px;
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Before:
Screen Shot 2020-06-02 at 22 17 35

After:
Screen Shot 2020-06-02 at 22 18 28

Comment on lines +25 to +29
@media only screen and (max-width: 480px) {
.mx_AuthHeader {
display: none;
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Before:
Screen Shot 2020-06-02 at 22 16 51

After:
Screen Shot 2020-06-02 at 22 17 03

With .mx_AuthBody:
Screen Shot 2020-06-02 at 22 18 49

Comment on lines +27 to +31
@media only screen and (max-width: 480px) {
.mx_AuthHeaderLogo {
display: none;
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Before:
Screen Shot 2020-06-02 at 22 15 38

After:
Screen Shot 2020-06-02 at 22 24 14

Comment on lines +32 to +37

@media only screen and (max-width: 480px) {
.mx_AuthPage_modal {
margin-top: 0;
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Before:
Screen Shot 2020-06-02 at 22 14 36

After:
Screen Shot 2020-06-02 at 22 14 40

Comment on lines +576 to +585
@media only screen and (max-width: 480px) {
.mx_EventTile_line, .mx_EventTile_reply {
padding-left: 0;
margin-right: 0;
}
.mx_EventTile_content {
margin-top: 10px;
margin-right: 0;
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Before:
Screen Shot 2020-06-02 at 22 21 11

After:
Screen Shot 2020-06-02 at 22 11 44

Comment on lines +271 to +278
@media only screen and (max-width: 480px) {
.mx_RoomHeader_wrapper {
padding: 0;
}
.mx_RoomHeader {
overflow: hidden;
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Before:
Screen Shot 2020-06-02 at 22 08 18

After:
Screen Shot 2020-06-02 at 22 08 03

@TitanNano
Copy link
Contributor Author

@jryans I added screenshots to each change.

Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

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

Thanks so much for the line by line screenshots, that makes it a whole lot easier to review. 😄

I spotted one small thing to change, and then I think this ready to merge. Please re-request a review from me when done.

@TitanNano
Copy link
Contributor Author

Thanks so much for the line by line screenshots, that makes it a whole lot easier to review. 😄

I spotted one small thing to change, and then I think this ready to merge. Please re-request a review from me when done.

@jryans did you mark what needs to be changed? I'm failing to find it. 😄

@jryans
Copy link
Collaborator

jryans commented Jun 9, 2020

@TitanNano Sorry, I guess GH ate my comment or I forgot to save it... 😖 Anyway, hopefully it's clear now!

daleharvey and others added 2 commits June 16, 2020 23:11
Signed-off-by: Jovan Gerodetti <jovan.gerodetti@titannano.de>
@TitanNano TitanNano requested a review from jryans June 16, 2020 21:18
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

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

Great, thanks for working on this! 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Z-Community-PR Issue is solved by a community member's PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants