Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions res/css/views/auth/_AuthBody.scss
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,12 @@ limitations under the License.
.mx_AuthBody_spinner {
margin: 1em 0;
}

@media only screen and (max-width: 480px) {
.mx_AuthBody {
border-radius: 4px;
width: auto;
max-width: 500px;
padding: 10px;
Comment thread
TitanNano marked this conversation as resolved.
}
}
6 changes: 6 additions & 0 deletions res/css/views/auth/_AuthHeader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ limitations under the License.
padding: 25px 40px;
box-sizing: border-box;
}

@media only screen and (max-width: 480px) {
.mx_AuthHeader {
display: none;
}
}
Comment on lines +25 to +29
Copy link
Copy Markdown
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

6 changes: 6 additions & 0 deletions res/css/views/auth/_AuthHeaderLogo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ limitations under the License.
.mx_AuthHeaderLogo img {
width: 100%;
}

@media only screen and (max-width: 480px) {
.mx_AuthHeaderLogo {
display: none;
}
}
Comment on lines +27 to +31
Copy link
Copy Markdown
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

6 changes: 6 additions & 0 deletions res/css/views/auth/_AuthPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,9 @@ limitations under the License.
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.33);
background-color: $authpage-modal-bg-color;
}

@media only screen and (max-width: 480px) {
.mx_AuthPage_modal {
margin-top: 0;
}
}
Comment on lines +32 to +37
Copy link
Copy Markdown
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

11 changes: 11 additions & 0 deletions res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -572,3 +572,14 @@ limitations under the License.
margin-left: 1em;
}
}

@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;
}
}
Comment on lines +576 to +585
Copy link
Copy Markdown
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

9 changes: 9 additions & 0 deletions res/css/views/rooms/_RoomHeader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -267,3 +267,12 @@ limitations under the License.
.mx_RoomHeader_pinsIndicatorUnread {
background-color: $pinned-unread-color;
}

@media only screen and (max-width: 480px) {
.mx_RoomHeader_wrapper {
padding: 0;
}
.mx_RoomHeader {
overflow: hidden;
}
}
Comment on lines +271 to +278
Copy link
Copy Markdown
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