The Trans Directory
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: fix invalid html output (#642)

* fix: fix invalid html output

* fix: HTML structure w/ nested <li>

authored by

Hydrophobefireman and committed by
GitHub
233d4b2f 504b4471

+8 -8
+2 -2
quartz/components/Darkmode.tsx
··· 18 18 x="0px" 19 19 y="0px" 20 20 viewBox="0 0 35 35" 21 - style="enable-background:new 0 0 35 35;" 21 + style="enable-background:new 0 0 35 35" 22 22 xmlSpace="preserve" 23 23 > 24 24 <title>Light mode</title> ··· 34 34 x="0px" 35 35 y="0px" 36 36 viewBox="0 0 100 100" 37 - style="enable-background='new 0 0 100 100'" 37 + style="enable-background:new 0 0 100 100" 38 38 xmlSpace="preserve" 39 39 > 40 40 <title>Dark mode</title>
+5 -5
quartz/components/ExplorerNode.tsx
··· 174 174 } 175 175 176 176 return ( 177 - <li> 177 + <> 178 178 {node.file ? ( 179 179 // Single file node 180 180 <li key={node.file.slug}> ··· 183 183 </a> 184 184 </li> 185 185 ) : ( 186 - <div> 186 + <li> 187 187 {node.name !== "" && ( 188 188 // Node with entire folder 189 189 // Render svg button + folder name, then children ··· 214 214 </a> 215 215 ) : ( 216 216 <button class="folder-button"> 217 - <p class="folder-title">{node.displayName}</p> 217 + <span class="folder-title">{node.displayName}</span> 218 218 </button> 219 219 )} 220 220 </div> ··· 241 241 ))} 242 242 </ul> 243 243 </div> 244 - </div> 244 + </li> 245 245 )} 246 - </li> 246 + </> 247 247 ) 248 248 }
+1 -1
quartz/components/styles/explorer.scss
··· 106 106 align-items: center; 107 107 font-family: var(--headerFont); 108 108 109 - & p { 109 + & span { 110 110 font-size: 0.95rem; 111 111 display: inline-block; 112 112 color: var(--secondary);