Skip to content

A platform for community discussion. Free, open, simple.

FIX: show selected topic with above-topic-list-item (#26928)

Dylan Yang84d0ac3a1257
diff --git a/app/assets/stylesheets/common/components/keyboard_shortcuts.scss b/app/assets/stylesheets/common/components/keyboard_shortcuts.scss
index 47de41b28c3..c4cc797a227 100644
--- a/app/assets/stylesheets/common/components/keyboard_shortcuts.scss
+++ b/app/assets/stylesheets/common/components/keyboard_shortcuts.scss
@@ -1,10 +1,10 @@
-.topic-list-item td:first-child,
+.topic-list-item td:first-of-type,
.topic-post {
border-left: 1px solid transparent;
}
-.topic-list tr.selected td:first-child,
-.topic-list-item.selected td:first-child,
+.topic-list tr.selected td:first-of-type,
+.topic-list-item.selected td:first-of-type,
.latest-topic-list-item.selected,
.search-results .fps-result.selected {
box-shadow: inset 3px 0 0 var(--quaternary);