Skip to content

Commit 8bf4a6c

Browse files
committed
More prominent suggestion link styles
1 parent 4497439 commit 8bf4a6c

File tree

3 files changed

+23
-6
lines changed

3 files changed

+23
-6
lines changed

js/chat/chat.scss

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,27 @@ shiny-chat-container {
1515

1616
.suggestion,
1717
[data-suggestion] {
18-
text-decoration: underline;
19-
text-decoration-style: dotted;
20-
text-decoration-color: var(--bs-link-color, #007bc2);
2118
cursor: pointer;
19+
color: var(--bs-link-color, #007bc2);
20+
21+
text-decoration-color: var(--bs-link-color, #007bc2);
22+
text-decoration-line: underline;
23+
text-decoration-style: dotted;
24+
text-decoration-thickness: 2px;
25+
text-underline-offset: 2px;
26+
text-underline-offset: 4px;
27+
text-decoration-thickness: 2px;
28+
29+
padding: 2px;
30+
31+
&:hover {
32+
text-decoration-style: solid;
33+
}
34+
35+
&::after {
36+
content: "\23CE";
37+
margin-inline-start: 0.25rem;
38+
}
2239
}
2340
}
2441

shiny/www/py-shiny/chat/chat.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

shiny/www/py-shiny/chat/chat.css.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)