Skip to content

Commit cae3ab4

Browse files
committed
Merge pull request element-hq#603 from vector-im/read_marker_animate
New CSS for read markers
2 parents 2bada93 + 977b223 commit cae3ab4

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

‎config.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"default_hs_url": "https://matrix.org",
2+
"default_hs_url": "http://localhost:8008",
33
"default_is_url": "https://vector.im"
44
}

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,17 @@ limitations under the License.
164164
margin-bottom: 12px;
165165
}
166166

167+
li.mx_RoomView_myReadMarker_container {
168+
height: 0px;
169+
margin: 0px;
170+
padding: 0px;
171+
border: 0px;
172+
}
173+
167174
hr.mx_RoomView_myReadMarker {
168175
border-top: solid 1px #76cfa6;
169-
border-bottom: none;
176+
border-bottom: solid 1px #76cfa6;
177+
margin-top: 0px;
170178
}
171179

172180
.mx_RoomView_statusArea {

‎src/skins/vector/css/matrix-react-sdk/views/rooms/EventTile.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ limitations under the License.
135135
z-index: 1;
136136
position: relative;
137137
width: 90px;
138+
height: 1px; /* Hack to stop the height of this pushing the messages apart. Replaces marigin-top: -6px. This interacts better with a read marker being in between. Content overflows. */
138139
margin-right: 10px;
139-
margin-top: -6px;
140140
}
141141

142142
.mx_EventTile .mx_MessageTimestamp {

0 commit comments

Comments
 (0)