merge text-xs override
This commit is contained in:
@@ -171,7 +171,7 @@ type SegmentedButtonOption struct {
|
||||
func SegmentedButtons(options []SegmentedButtonOption, value string, onChange func(string), small bool, class string) *vdom.VNode {
|
||||
sizeCls := "py-1 px-3 text-sm"
|
||||
if small {
|
||||
sizeCls = "py-0.5 px-2 text-xs"
|
||||
sizeCls = "py-0.5 px-2 text-ss"
|
||||
}
|
||||
const baseCls = "inline-flex items-center justify-center gap-1.5 flex-1 cursor-pointer font-medium transition-colors whitespace-nowrap disabled:opacity-50 disabled:cursor-not-allowed"
|
||||
const activeCls = "bg-surface text-text-heading shadow-sm"
|
||||
|
||||
Reference in New Issue
Block a user