Don't break words in header

This commit is contained in:
Martin Berg Alstad 2023-01-14 15:03:54 +01:00
parent d2d75721d9
commit 15c79d6365

View File

@ -28,7 +28,7 @@ const TruthTable: Component<TruthTableProps> = (
<th scope={ "col" }
class={ `bg-default-bg text-center sticky top-0 [position:-webkit-sticky;]
outline outline-2 outline-offset-[-1px] outline-gray-500` /*TODO sticky header at the top of the screen */ }>
<p class={ "px-2" }>{ exp }</p>
<p class={ "px-2 w-max" }>{ exp }</p>
</th>
) }
</For>