Skip to content

Commit 3c0d324

Browse files
authored
chore(html): disable text selection on nav and badge buttons (microsoft#36839)
1 parent 72c4bf1 commit 3c0d324

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/html-reporter/src/common.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ article, aside, details, figcaption, figure, footer, header, main, menu, nav, se
208208
line-height: 20px;
209209
color: var(--color-fg-default);
210210
border: 1px solid var(--color-border-default);
211+
user-select: none;
211212
}
212213

213214
.subnav-item:hover {

packages/html-reporter/src/links.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
flex: none;
116116
background-color: transparent;
117117
border-color: transparent;
118+
user-select: none;
118119
}
119120

120121
.link-badge-dim span {

0 commit comments

Comments
 (0)