fix(docs): correct LipglossPadding doc comment

This commit is contained in:
Christian Rocha 2023-05-18 12:20:41 -04:00 committed by Maas Lalani
parent b23ebce896
commit 6e802805cf

View file

@ -6,7 +6,7 @@ import (
"github.com/charmbracelet/lipgloss"
)
// LipglossLengthPadding calculated calculates how much padding a string is given by a style.
// LipglossPadding calculates how much padding a string is given by a style.
func LipglossPadding(style lipgloss.Style) (int, int) {
render := style.Render(" ")
before := strings.Index(render, " ")