mirror of
https://github.com/charmbracelet/lipgloss.git
synced 2024-09-11 14:07:21 +03:00
docs: fix the description of MaxHeight
This commit is contained in:
parent
a74950e6da
commit
1eab58f1d8
4
set.go
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user