Skip to content

Commit

Permalink
fix: remove max-w-xs from select
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie authored Aug 21, 2024
1 parent b93bc22 commit 9dfa52d
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions components/forms/select.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ func Select(p SelectProps, children ...htmx.Node) htmx.Node {
return htmx.Select(
htmx.Merge(
htmx.ClassNames{
"select": true,
"w-full": true,
"max-w-xs": true,
"select": true,
"w-full": true,
},
p.ClassNames,
),
Expand All @@ -34,7 +33,6 @@ func SelectBordered(p SelectProps, children ...htmx.Node) htmx.Node {
"select": true,
"select-bordered": true,
"w-full": true,
"max-w-xs": true,
},
p.ClassNames,
),
Expand All @@ -51,7 +49,6 @@ func SelectGhost(p SelectProps, children ...htmx.Node) htmx.Node {
"select": true,
"select-ghost": true,
"w-full": true,
"max-w-xs": true,
},
p.ClassNames,
),
Expand All @@ -68,7 +65,6 @@ func SelectPrimary(p SelectProps, children ...htmx.Node) htmx.Node {
"select": true,
"select-primary": true,
"w-full": true,
"max-w-xs": true,
},
p.ClassNames,
),
Expand All @@ -85,7 +81,6 @@ func SelectSecondary(p SelectProps, children ...htmx.Node) htmx.Node {
"select": true,
"select-secondary": true,
"w-full": true,
"max-w-xs": true,
},
p.ClassNames,
),
Expand All @@ -102,7 +97,6 @@ func SelectAccent(p SelectProps, children ...htmx.Node) htmx.Node {
"select": true,
"select-accent": true,
"w-full": true,
"max-w-xs": true,
},
p.ClassNames,
),
Expand All @@ -119,7 +113,6 @@ func SelectInfo(p SelectProps, children ...htmx.Node) htmx.Node {
"select": true,
"select-info": true,
"w-full": true,
"max-w-xs": true,
},
p.ClassNames,
),
Expand All @@ -136,7 +129,6 @@ func SelectSuccess(p SelectProps, children ...htmx.Node) htmx.Node {
"select": true,
"select-success": true,
"w-full": true,
"max-w-xs": true,
},
p.ClassNames,
),
Expand All @@ -153,7 +145,6 @@ func SelectWarning(p SelectProps, children ...htmx.Node) htmx.Node {
"select": true,
"select-warning": true,
"w-full": true,
"max-w-xs": true,
},
p.ClassNames,
),
Expand All @@ -170,7 +161,6 @@ func SelectDanger(p SelectProps, children ...htmx.Node) htmx.Node {
"select": true,
"select-danger": true,
"w-full": true,
"max-w-xs": true,
},
p.ClassNames,
),
Expand All @@ -187,7 +177,6 @@ func SelectError(p SelectProps, children ...htmx.Node) htmx.Node {
"select": true,
"select-error": true,
"w-full": true,
"max-w-xs": true,
},
p.ClassNames,
),
Expand Down

0 comments on commit 9dfa52d

Please sign in to comment.