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

Commit ac46e63

Browse files
authored
Hide the verification left stroke only on the thread list (#8525)
* 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]>
1 parent fbb8581 commit ac46e63

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

res/css/views/right_panel/_ThreadPanel.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,6 @@ limitations under the License.
199199
.mx_EventTile_e2eIcon {
200200
left: 8px;
201201
}
202-
203-
&:hover .mx_EventTile_line {
204-
box-shadow: unset !important; // don't show the verification left stroke in the thread list
205-
}
206202
}
207203

208204
.mx_MessageComposer {

res/css/views/rooms/_EventTile.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,11 +737,15 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
737737
align-items: center;
738738

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

745+
&:not([data-layout=bubble]):hover .mx_EventTile_line {
746+
box-shadow: none; // don't show the verification left stroke in the thread list
747+
}
748+
745749
&::after {
746750
content: "";
747751
position: absolute;

0 commit comments

Comments
 (0)