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

Commit

Permalink
Hide the verification left stroke only on the thread list (#8525)
Browse files Browse the repository at this point in the history
* Hide the verification left stroke only in the thread panel (ie. let it shown in a chat panel with a maximized widget)

Respect the original comment that the stroke should be hidden in the thread list (and in a thread as well).

Signed-off-by: Suguru Hirahara <[email protected]>

* Display the left stroke inside a thread

Signed-off-by: Suguru Hirahara <[email protected]>
  • Loading branch information
luixxiul authored May 11, 2022
1 parent fbb8581 commit ac46e63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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 {
box-shadow: none; // don't show the verification left stroke in the thread list
}

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

0 comments on commit ac46e63

Please sign in to comment.