Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/components/MaterialUnderlineTextbox.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import styled from 'styled-components';

function MaterialUnderlineTextbox(props) {
return (
<Container {...props}>
Expand All @@ -17,14 +18,12 @@ const Container = styled.div`
border-bottom-width: 1px;
border-color: #121212;

background-color: rgba(170, 201, 206, 1);
flex-direction: row;
align-items: center;
`;

const InputStyle = styled.input`
font-family: Roboto;
color: rgba(0, 0, 0, 0.7);
padding-right: 5px;
font-size: 20px;
align-self: stretch;
Expand All @@ -34,7 +33,6 @@ const InputStyle = styled.input`
padding-left: 40px;
padding-bottom: 16px;
border: none;
background: transparent;
flex-direction: column;
`;

Expand Down
12 changes: 6 additions & 6 deletions src/screens/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ handleCopy = () => {
label="Enter the URL"
style={{
height: 62,
width: '34%',
width: '32%',
position: 'absolute',
background: 'rgba(230, 230, 230, 0.88)',
backgroundColor: 'white',
}}
variant="filled"
value={this.state.longUrl}
Expand All @@ -246,8 +246,8 @@ handleCopy = () => {
style={{
height: 62,
position: 'absolute',
backgroundColor: 'white',
width: '11%',
background: 'rgba(230, 230, 230, 0.88)',
disableUnderline: true,
}}
required
Expand Down Expand Up @@ -300,8 +300,8 @@ handleCopy = () => {
position: 'absolute',
width: '15%',
marginLeft: '60px',
background: 'rgba(230, 230, 230, 0.88)',
disableUnderline: true,
backgroundColor: 'white',
}}
variant="filled"
></TextField>
Expand Down Expand Up @@ -350,8 +350,8 @@ handleCopy = () => {
borderWidth: 1,
borderColor: 'rgba(255,255,255,1)',
borderStyle: 'solid',
}}
inputStyle="Short url"
}}
inputStyle="Short url"
value={this.state.shortUrl}
/>
<CopyToClipboard text={this.state.shortUrl} onChange={this.handleCopy}>
Expand Down