From 069a92c001f2f588417b649b31e4d473dfaaa75d Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Sat, 16 May 2020 22:54:55 -0700 Subject: remove lang input --- frontend/src/components/PasteInfo.js | 21 ++++++++++++++------- frontend/src/css/index.css | 2 +- 2 files changed, 15 insertions(+), 8 deletions(-) (limited to 'frontend/src') diff --git a/frontend/src/components/PasteInfo.js b/frontend/src/components/PasteInfo.js index b1abda6..ea4981c 100644 --- a/frontend/src/components/PasteInfo.js +++ b/frontend/src/components/PasteInfo.js @@ -1,7 +1,7 @@ import React from 'react'; import styled from 'styled-components' import { useHistory } from 'react-router-dom'; -import { LangInput, ThemeInput } from './Inputs' +import { ThemeInput } from './Inputs' const Bold = styled.span` font-weight: 700 @@ -19,6 +19,10 @@ const ButtonRow = styled.div` display: inline; ` +const SpacedText = styled.span` + margin-right: 1em; +` + const Flex = styled.div` float: right; display: flex; @@ -36,10 +40,6 @@ const PasteInfo = (props) => { return (
- { > view raw + + language: {props.lang} + + + expires: {props.expiry} + + + {props.err} + - expires: {props.expiry} - {props.err}
); diff --git a/frontend/src/css/index.css b/frontend/src/css/index.css index f377fd5..488ee08 100644 --- a/frontend/src/css/index.css +++ b/frontend/src/css/index.css @@ -69,7 +69,7 @@ code, pre { } .Dropdown-placeholder { - width: 5em; + width: 5.5em; } .Dropdown-menu { -- cgit v1.2.3