From 1eab58f1d8b3535b2332be800c905c484c3592dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Donk=C3=B3?= Date: Tue, 21 Feb 2023 08:41:56 +0100 Subject: [PATCH] docs: fix the description of `MaxHeight` --- set.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/set.go b/set.go index 38a0ed17..35dbcc83 100644 --- a/set.go +++ b/set.go @@ -492,8 +492,8 @@ func (s Style) MaxWidth(n int) Style { return o } -// MaxHeight applies a max width to a given style. This is useful in enforcing -// a certain width at render time, particularly with arbitrary strings and +// MaxHeight applies a max height to a given style. This is useful in enforcing +// a certain height at render time, particularly with arbitrary strings and // styles. // // Because this in intended to be used at the time of render, this method will