diff options
author | poeti8 <ezzati.upt@gmail.com> | 2020-08-05 17:44:08 +0300 |
---|---|---|
committer | poeti8 <ezzati.upt@gmail.com> | 2020-08-05 17:50:47 +0300 |
commit | dbc402f0c58a60bc68291702455ef82bcbcfbe72 (patch) | |
tree | 38da25c25cba79c3c345ee64bc1550c5b02b893e /client | |
parent | 220da8e7f970d736b289c38d4bb5338c00fcff14 (diff) |
fix: description input width on small screen
Diffstat (limited to 'client')
-rw-r--r-- | client/components/Shortener.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/components/Shortener.tsx b/client/components/Shortener.tsx index 13b6868..4017693 100644 --- a/client/components/Shortener.tsx +++ b/client/components/Shortener.tsx @@ -1,7 +1,7 @@ import { CopyToClipboard } from "react-copy-to-clipboard"; import { useFormState } from "react-use-form-state"; import { Flex } from "reflexbox/styled-components"; -import React, { FC, useState } from "react"; +import React, { useState } from "react"; import styled from "styled-components"; import getConfig from "next/config"; @@ -324,7 +324,7 @@ const Shortener = () => { </Col> </Flex> <Flex mt={[3]} flexDirection={["column", "row"]}> - <Col> + <Col mb={[3, 0]}> <Text as="label" {...label("expire_in")} @@ -347,7 +347,7 @@ const Shortener = () => { maxWidth="100%" /> </Col> - <Col width={2 / 3} ml={[0, 26]}> + <Col width={[1, 2 / 3]} ml={[0, 26]}> <Text as="label" {...label("description")} |