Skip to content

Commit 0d8442f

Browse files
committed
🐛 fix: unselect the prepend img of nav-item
1 parent 233bd1b commit 0d8442f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/Masa.Stack.Components/Shared/Layouts/Components/NavItems.razor

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
@if (subNav.HasChildren)
77
{
88
<div class="d-flex align-star @Class" style="position: relative">
9-
<img src="https://cdn.masastack.com/stack/images/component/nav-sub-before.png" width="18" height="48" alt="line" />
9+
<img src="https://cdn.masastack.com/stack/images/component/nav-sub-before.png" width="18" height="48" alt="line"
10+
style="user-select: none;"/>
1011
<MListGroup Group="@GenGroup(subNav.Children)"
1112
Class="full-width"
1213
ActiveClass="primary--text"
@@ -48,12 +49,14 @@
4849
{
4950
<div class="d-flex align-center @Class">
5051
<img src="https://cdn.masastack.com/stack/images/component/nav-before-first-sub.png" height="8"
51-
alt="first-sub-before" />
52+
alt="first-sub-before"
53+
style="user-select: none"/>
5254
</div>
5355
}
5456

5557
<div class="d-flex align-center @Class">
56-
<img src="https://cdn.masastack.com/stack/images/component/nav-sub-before.png" width="18" height="48" alt="line" />
58+
<img src="https://cdn.masastack.com/stack/images/component/nav-sub-before.png" width="18" height="48" alt="line"
59+
style="user-select: none"/>
5760

5861
<SListItem Medium Class="mb-0 rounded-2"
5962
ActiveClass="primary"

0 commit comments

Comments
 (0)