@@ -175,20 +175,13 @@ inputContainer props = theCss <>? props.css
175175 css
176176 { "--left-icon-size": var "--s0"
177177 , "--right-icon-size": str "calc(var(--s0) * 1.2)"
178− , "--input-border-radius": var "--s-1"
179178 , "--input-side-padding": str "calc(var(--s-1) * 1.2)"
180179 , "--input-top-padding": var "--s-5"
181180 , "--input-bottom-padding": var "--s-5"
182− , "--border-width": str "1px"
183181 , letterSpacing: em (-0.011)
184182 , position: relative
185183 , cursor: str "text"
186184 , boxSizing: borderBox
187− , boxShadow: str """
188− 0 1px 1px rgba(200,200,255,0.2),
189− 0 2px 2px rgba(200,200,255,0.1),
190− 0 4px 8px rgba(200,200,255,0.03)"""
191− , background: str (props.background ?|| colour.inputBackground)
192185 , display: flex
193186 , width: str "calc(var(--s4) * 2)"
194187 , """&[data-invalid="false"]""":
@@ -224,6 +217,20 @@ inputContainer props = theCss <>? props.css
224217 , borderRadius: var "--input-border-radius"
225218 }
226219
220+containerContainer ∷ ∀ r. { | Props OptionalProp r } -> Style
221+containerContainer props = css { display: grid
222+ , "--border-width": str "1px"
223+ , "--input-border-radius": var "--s-1"
224+ , background: str (props.background ?|| colour.inputBackground)
225+ , boxSizing: contentBox
226+ , borderRadius: var "--input-border-radius"
227+ , boxShadow: str """
228+ 0 1px 1px rgba(200,200,255,0.2),
229+ 0 2px 2px rgba(200,200,255,0.1),
230+ 0 4px 8px rgba(200,200,255,0.03)"""
231+ , border: str $ "var(--border-width) solid " <> colour.inputBorder
232+ }
233+
227234inputWrapper ∷ Style
228235inputWrapper =
229236 css