Skip to content

Commit bfad761

Browse files
author
Luke Barnard
committed
Re-position certain icons in the status bar
Also, make sure the typing avatars line up with the arrow to jump to the bottom of the timeline. Also, get rid of any height jumps when a call starts. border 1px hidden does not add any height to an element, it is effectively the same as none.
1 parent b6741d9 commit bfad761

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/structures/_RoomStatusBar.scss‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ limitations under the License.
1616

1717
.mx_RoomStatusBar {
1818
margin-left: 65px;
19-
min-height: 34px;
19+
min-height: 50px;
2020
}
2121

2222
/* position the indicator in the same place horizontally as .mx_EventTile_avatar. */
2323
.mx_RoomStatusBar_indicator {
2424
padding-left: 17px;
2525
padding-right: 12px;
2626
margin-left: -73px;
27-
margin-top: 8px;
27+
margin-top: 15px;
2828
float: left;
2929
width: 24px;
3030
text-align: center;
@@ -72,6 +72,7 @@ limitations under the License.
7272

7373
.mx_RoomStatusBar_typingIndicatorAvatars {
7474
width: 52px;
75+
margin-top: -1px;
7576
text-align: left;
7677
}
7778

@@ -102,6 +103,7 @@ limitations under the License.
102103

103104
.mx_RoomStatusBar_scrollDownIndicator {
104105
cursor: pointer;
106+
padding-left: 1px;
105107
}
106108

107109
.mx_RoomStatusBar_unreadMessagesBar {
@@ -144,7 +146,9 @@ limitations under the License.
144146
}
145147

146148
.mx_RoomStatusBar_typingBar {
147-
padding-top: 10px;
149+
height: 50px;
150+
line-height: 50px;
151+
148152
color: $primary-fg-color;
149153
opacity: 0.5;
150154
overflow-y: hidden;

‎src/skins/vector/css/matrix-react-sdk/structures/_RoomView.scss‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,12 @@ hr.mx_RoomView_myReadMarker {
207207

208208
.mx_RoomView_inCall .mx_RoomView_statusAreaBox_line {
209209
border-top: 1px hidden;
210+
padding-top: 1px;
210211
}
211212

212213
.mx_RoomView_inCall .mx_MessageComposer_wrapper {
213214
border-top: 2px hidden;
215+
padding-top: 1px;
214216
}
215217

216218
.mx_RoomView_inCall .mx_RoomView_statusAreaBox {

0 commit comments

Comments
 (0)