File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -117,14 +117,14 @@ module Toggle = {
117
117
118
118
let paddingX = switch (numberOfItems) {
119
119
| 1
120
- | 2 => "px-16"
121
- | 3 => "px-8"
122
- | _ => "px-4 "
120
+ | 2 => "sm: px-16"
121
+ | 3 => "lg: px-8"
122
+ | _ => ""
123
123
};
124
124
<span
125
125
key
126
126
className= {
127
- paddingX ++ " inline-block p-2 bg-gray-10 last:ml-auto rounded-sm " ++ activeClass
127
+ paddingX ++ " px-4 inline-block p-2 bg-gray-10 rounded-sm " ++ activeClass
128
128
}
129
129
onClick>
130
130
label-> s
@@ -148,7 +148,7 @@ module Toggle = {
148
148
<div
149
149
className= "flex w-full flex-col rounded-none xs:rounded border-t border-b xs:border border-snow-dark bg-snow-light pb-2 text-night-dark" >
150
150
<div
151
- className= "font-sans mb-6 mb-4 text-sm bg-gray-10 text-gray-60-tr" >
151
+ className= "flex overflow-auto scrolling-touch font-sans mb-6 mb-4 text-sm bg-gray-10 text-gray-60-tr" >
152
152
labels-> ate
153
153
</div >
154
154
<div className= "px-4 text-base pb-2 overflow-x-auto -mt-2" >
You can’t perform that action at this time.
0 commit comments