#124: Frontend changes for latest issues with notifications

This commit is contained in:
frikky
2021-10-05 22:01:54 +02:00
parent 2842b04a69
commit 030adab327
9 changed files with 165 additions and 183 deletions
+2 -2
View File
@@ -380,14 +380,14 @@ const Docs = (props) => {
<Typography style={{color: itemMatching ? "#f86a3e" : "inherit"}} variant="body1"><b>> {newname}</b></Typography>
</Link>
{itemMatching && tocLines !== null && tocLines !== undefined && tocLines.length > 0 ?
<div style={{marginLeft: 13}}>
<div style={{marginLeft: 5}}>
{tocLines.map((data, index) => {
console.log(data)
return (
<Link key={index} style={innerHrefStyle} to={data.link} onClick={() => {}}>
<Typography variant="body2" style={{cursor: "pointer"}}>
{data.text}
- {data.text}
</Typography>
</Link>
)