- commit
- 887c725
- parent
- 67a40cf
- author
- CheddarCrisp
- date
- 2020-02-28 16:52:28 +0100 CET
Handle missing authors and fix pre overflow
1 files changed,
+2,
-1
+2,
-1
1@@ -1,7 +1,7 @@
2 <div>
3 {#each licenses as license}
4 <header>
5- <h1>{license.name} by {license.author}</h1>
6+ <h1>{license.name}{#if license.author} by {license.author}{/if}</h1>
7 <div>Source: <a href="{license.repository}" target="_blank">{license.repository}</a></div>
8 </header>
9 <pre>{license.licenseText}</pre>
10@@ -35,5 +35,6 @@ pre {
11 padding: 5px;
12 white-space: pre-wrap;
13 background-color: #F0F0F0;
14+ overflow-wrap: break-word;
15 }
16 </style>