Skip to content

Commit 8175151

Browse files
committed
fix: style overrides
1 parent 6ad0111 commit 8175151

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

apify-docs-theme/src/theme/SearchBar/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import './styles.css';
2-
1+
// eslint-disable-next-line simple-import-sort/imports
32
import BrowserOnly from '@docusaurus/BrowserOnly';
43
import RouterLink from '@docusaurus/Link';
54
import { useHistory, useLocation } from '@docusaurus/router';
@@ -8,6 +7,9 @@ import React, { useCallback } from 'react';
87

98
import { ApifySearch } from '@apify/docs-search-modal';
109

10+
// needs to be imported as the last thing, so that it can override the default styles
11+
import './styles.css';
12+
1113
/**
1214
* Tests whether the given href is pointing to the current docusaurus instance (so we can use the router link).
1315
*/

apify-docs-theme/src/theme/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,11 +664,16 @@ aside button[class*="collapseSidebarButton"] svg {
664664
padding: 0.8rem;
665665
font-size: 1.2rem;
666666
line-height: 1.6rem;
667+
border-radius: 0.8rem;
667668
display: flex;
668669
align-items: center;
669670
gap: 0.4rem;
670671
}
671672

673+
.navbar .dropdown__link:hover {
674+
background: var(--color-Neutral_Hover);
675+
}
676+
672677
.navbar .dropdown__link svg[class*=iconExternalLink] {
673678
margin-left: unset;
674679
}

0 commit comments

Comments
 (0)