mirror of
https://github.com/fiatjaf/nak.git
synced 2024-11-22 16:19:07 -05:00
entry layout: limit width.
This commit is contained in:
parent
da696db5eb
commit
ecbac4c156
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user