New UI
This commit is contained in:
parent
9b14761493
commit
0f47854746
5 changed files with 23 additions and 12 deletions
|
|
@ -49,9 +49,9 @@ export default () => {
|
||||||
height: '85%',
|
height: '85%',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Container className="perfect-width">
|
<Container>
|
||||||
<h2 className="text-center py-3">Upload a File</h2>
|
<h2 className="text-center py-3">Upload a File</h2>
|
||||||
<Form onSubmit={submit} className="perfect-width">
|
<Form onSubmit={submit}>
|
||||||
<Form.Group>
|
<Form.Group>
|
||||||
<InputGroup>
|
<InputGroup>
|
||||||
<Form.File
|
<Form.File
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ export default () => {
|
||||||
return (
|
return (
|
||||||
<CSSTransition classNames="react-router" appear in timeout={300}>
|
<CSSTransition classNames="react-router" appear in timeout={300}>
|
||||||
<Container className="text-center m-auto">
|
<Container className="text-center m-auto">
|
||||||
<Form onSubmit={submit} className="perfect-width text-center m-auto">
|
<Form onSubmit={submit} className="text-center m-auto">
|
||||||
{/* Syntax Selection */}
|
{/* Syntax Selection */}
|
||||||
<Form.Group>
|
<Form.Group>
|
||||||
<InputGroup>
|
<InputGroup>
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ export default () => {
|
||||||
height: '85%',
|
height: '85%',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Container className="perfect-width">
|
<Container>
|
||||||
<h2 className="text-center py-3">Shorten a URL</h2>
|
<h2 className="text-center py-3">Shorten a URL</h2>
|
||||||
<Form onSubmit={submit} className="mb-3">
|
<Form onSubmit={submit} className="mb-3">
|
||||||
<Form.Row className="align-items-center justify-content-center">
|
<Form.Row className="align-items-center justify-content-center">
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import { Nav, Navbar } from 'react-bootstrap';
|
||||||
import NavLinkItem from './NavLinkItem';
|
import NavLinkItem from './NavLinkItem';
|
||||||
|
|
||||||
export default () => (
|
export default () => (
|
||||||
<Navbar expand="lg" collapseOnSelect>
|
<Navbar expand="lg" collapseOnSelect style={{ zIndex: 9999999999999 }}>
|
||||||
<Navbar.Brand>Dev Tools</Navbar.Brand>
|
<Navbar.Brand>Dev Tools</Navbar.Brand>
|
||||||
<Navbar.Toggle aria-controls="responsive-navbar-nav" />
|
<Navbar.Toggle aria-controls="responsive-navbar-nav" />
|
||||||
<Navbar.Collapse>
|
<Navbar.Collapse>
|
||||||
|
|
|
||||||
|
|
@ -10,11 +10,6 @@
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.perfect-width {
|
|
||||||
max-width: 768px;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mt-10 {
|
.mt-10 {
|
||||||
margin-top: 33%;
|
margin-top: 33%;
|
||||||
}
|
}
|
||||||
|
|
@ -49,13 +44,11 @@ input.custom-file-input {
|
||||||
}
|
}
|
||||||
|
|
||||||
.paste-edit {
|
.paste-edit {
|
||||||
aspect-ratio: 22/9;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 1024px;
|
max-width: 1024px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.paste-view {
|
.paste-view {
|
||||||
aspect-ratio: 16/9;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 1024px;
|
max-width: 1024px;
|
||||||
}
|
}
|
||||||
|
|
@ -74,7 +67,25 @@ input.custom-file-input {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 992px) {
|
||||||
|
.paste-edit {
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.paste-view {
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 992px) {
|
@media only screen and (min-width: 992px) {
|
||||||
|
.paste-edit {
|
||||||
|
aspect-ratio: 22/9;
|
||||||
|
}
|
||||||
|
|
||||||
|
.paste-view {
|
||||||
|
aspect-ratio: 16/9;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue