make schemaviewer required field smaller

This commit is contained in:
Ruben Fiszel
2022-08-07 16:24:49 +02:00
parent d023b012f1
commit e54f7258aa
@@ -63,7 +63,11 @@
>{property.format ?? ''}
{property.contentEncoding ? `(encoding: ${property.contentEncoding})` : ''}</td
>
<td>{schema.required.includes(name) ? 'required' : 'optional'}</td>
<td
>{#if schema.required.includes(name)}
<span class="text-red-600 font-bold text-lg">*</span>
{/if}</td
>
</tr>
{/each}
</tbody>