Skip to content

Commit f71b3c7

Browse files
authored
hide "Copy page" menu AI tools entries descriptions (#5153)
1 parent 218a894 commit f71b3c7

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

website/src/theme/DocItem/Layout/styles.module.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,16 @@ div[class^="copyPageDropdown"] {
4747
&:hover {
4848
background-color: var(--ifm-menu-color-background-hover);
4949
}
50+
51+
&:not([data-copy-page-action="copy"], [data-copy-page-action="view"]) {
52+
div[class^="itemTitle"] {
53+
margin-bottom: 0;
54+
}
55+
56+
div[class^="itemDescription"] {
57+
display: none;
58+
}
59+
}
5060
}
5161

5262
div[class^="itemDescription"] {

0 commit comments

Comments
 (0)