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

Hide the verification left stroke only on the thread list #8525

Merged
merged 3 commits into from
May 11, 2022
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
4 changes: 0 additions & 4 deletions res/css/views/right_panel/_ThreadPanel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,6 @@ limitations under the License.
.mx_EventTile_e2eIcon {
left: 8px;
}

&:hover .mx_EventTile_line {
box-shadow: unset !important; // don't show the verification left stroke in the thread list
}
}

.mx_MessageComposer {
Expand Down
6 changes: 5 additions & 1 deletion res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -737,11 +737,15 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
align-items: center;

&:hover,
// To cancel "&.mx_EventTile:hover .mx_EventTile_line"
// Override .mx_EventTile:not([data-layout=bubble]).mx_EventTile:hover .mx_EventTile_line
&:not([data-layout=bubble]):hover .mx_EventTile_line {
background-color: $system;
}

&:not([data-layout=bubble]):hover .mx_EventTile_line {
t3chguy marked this conversation as resolved.
Show resolved Hide resolved
box-shadow: none; // don't show the verification left stroke in the thread list
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This line removes the left stroke in the thread list:

video.mp4

}

&::after {
content: "";
position: absolute;
Expand Down