-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Searchbar not showing input text #17
Comments
Thanks! Do you have an online example or can you share more details (typedoc-material-theme, OS and browser versions)? |
Hi @dmnsgn, thanks for the reply. Here are my configurations:
{
"plugin": [
"typedoc-plugin-merge-modules",
"typedoc-material-theme"
],
"themeColor": "#f2efeb",
"favicon": "./assets/favicon.png",
"mergeModulesRenameDefaults": true,
"mergeModulesMergeMode": "module",
"exclude": [
"**/*.d.ts",
"**/*.test.ts",
"**/*.test.tsx",
"**/__tests__/*",
"**/.rollup.cache/*",
"**/dist/*",
"**/node_modules/*"
]
}
{
"extends": [
"./typedoc.base.json"
],
"tsconfig": "tsconfig.json",
"name": "GeoXp Docs",
"out": "public",
"entryPoints": [
"packages/*"
],
"entryPointStrategy": "packages",
"exclude": [
"packages/eslint-config",
]
} I'm working with Typescript (v5.4.5) on a Lerna Monorepo (lerna v8.1.8). Mac OS 13.2.1 (Ventura) with Firefox 133 or Chrome 131 (same result). Here's a published work in progress version of the docs I'm building -> https://geoxp.netlify.app/ Let me know if I can help debugging this ;) |
Hi @dmnsgn . Did you have the chance to take a look at this? |
Looks like your material-style.css... #tsd-search .field input {
// ...
top: calc(-100% - var(--top-app-bar-padding-vertical) - var(--safe-area-inset-top));
} ...is overwriting the correct styles that you have in a layer: #tsd-search.has-focus .field input {
top: 0;
// ...
} So you'd need to change your css selector with a :not or add your own styles with .has-focus. |
@dmnsgn thanks! |
If anyone had the same issue, I was able to fix it injecting a custom CSS file and forcing Dunno why this conflict happens in the first place though, since I did not touch any style. Anyways:
{
"plugin": [
"typedoc-material-theme"
],
"themeColor": "#f2efeb",
"customCss": "./typedoc.style.css"
}
#tsd-search.has-focus .field input {
top: 0 !important;
} |
@francescocretti |
Hi.
The top searchbar does not show input text, even if it works (it shows correct results).
Is not a theming issue (I thought the text may have the name color of the background), it looks like the text is not rendered at all.
Here's a screenshot.
BTW - I find this theme to be the best one out there! Thanks for doing this!
The text was updated successfully, but these errors were encountered: