Skip to content

Commit

Permalink
docs: fix the description of MaxHeight
Browse files Browse the repository at this point in the history
  • Loading branch information
isti115 authored and muesli committed Mar 1, 2023
1 parent a74950e commit 1eab58f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions set.go
Expand Up @@ -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
Expand Down

0 comments on commit 1eab58f

Please sign in to comment.