@@ -127,9 +127,11 @@ const props = withDefaults(defineProps<{
depth?: number;
reply?: boolean;
+ detailed?: boolean;
}>(), {
depth: 1,
reply: false,
+ detailed: false,
});
const el = shallowRef
();
@@ -474,7 +476,7 @@ if (props.detail) {
position: relative;
display: flex;
- &::after {
+ :is(.detailed, .replyRoot) &::after {
content: "";
position: absolute;
top: -12px;
@@ -488,8 +490,8 @@ if (props.detail) {
z-index: -1;
}
- &:hover::after,
- &:focus-within::after {
+ :is(.detailed, .replyRoot) &:hover::after,
+ :is(.detailed, .replyRoot) &:focus-within::after {
opacity: 1;
}
}