interface: changes wrapping behavior

Fixes https://github.com/urbit/landscape/issues/325
This commit is contained in:
Tyler Brown Cifu Shuster 2021-01-31 20:07:02 -08:00
parent 5020ab48e9
commit 2437354310
3 changed files with 3 additions and 2 deletions

View File

@ -32,7 +32,7 @@ export function BackgroundPicker({
return (
<Col>
<Label mb="2">Landscape Background</Label>
<Row {...rowSpace}>
<Row flexWrap="wrap" {...rowSpace}>
<Radio {...radioProps} label="Image" id="url" />
{bgType === "url" && (
<ImageInput

View File

@ -23,7 +23,7 @@ export default function Settings({
gridTemplateColumns="1fr"
gridRowGap={7}
p={4}
maxWidth="400px"
maxWidth="500px"
>
<DisplayForm
api={api}

View File

@ -69,6 +69,7 @@ export function ImageInput(props: ImageInputProps) {
border={1}
borderColor="lightGray"
onClick={onClick}
flexShrink={0}
>
{uploading ? "Uploading" : "Upload"}
</Button>