entry layout: limit width.

This commit is contained in:
fiatjaf 2023-04-06 10:38:08 -03:00
parent da696db5eb
commit ecbac4c156
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

View File

@ -221,8 +221,9 @@ object Components {
value: String value: String
): Resource[IO, HtmlDivElement[IO]] = ): Resource[IO, HtmlDivElement[IO]] =
div( div(
cls := "flex items-center space-x-3",
span(cls := "font-bold", key + " "), span(cls := "font-bold", key + " "),
span(Styles.mono, value) span(Styles.mono, cls := "max-w-xl", value)
) )
private def nip19_21( private def nip19_21(