mirror of
https://github.com/Lissy93/personal-security-checklist.git
synced 2024-10-01 01:35:37 -04:00
Adds underline to hyperlink (fixes #233)
This commit is contained in:
parent
2e4d85cf4f
commit
55b29cbccf
@ -5,6 +5,8 @@ import Icon from "~/components/core/icon";
|
||||
import type { Priority, Section, Checklist } from '../../types/PSC';
|
||||
import { marked } from "marked";
|
||||
import { useLocalStorage } from "~/hooks/useLocalStorage";
|
||||
import styles from './psc.module.css';
|
||||
|
||||
|
||||
export default component$((props: { section: Section }) => {
|
||||
|
||||
@ -301,7 +303,7 @@ export default component$((props: { section: Section }) => {
|
||||
{item.priority}
|
||||
</div>
|
||||
</td>
|
||||
<td dangerouslySetInnerHTML={parseMarkdown(item.details)}></td>
|
||||
<td class={styles.checklistItemDescription} dangerouslySetInnerHTML={parseMarkdown(item.details)}></td>
|
||||
</tr>
|
||||
)}
|
||||
)}
|
||||
|
@ -3,3 +3,9 @@
|
||||
/* I couldn't figure out how to do this with Tailwind.... */
|
||||
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
||||
}
|
||||
|
||||
.checklistItemDescription {
|
||||
a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user