This commit is contained in:
oitsjustjose 2023-03-28 23:35:49 -05:00
commit 0f47854746
5 changed files with 23 additions and 12 deletions

View file

@ -49,9 +49,9 @@ export default () => {
height: '85%',
}}
>
<Container className="perfect-width">
<Container>
<h2 className="text-center py-3">Upload a File</h2>
<Form onSubmit={submit} className="perfect-width">
<Form onSubmit={submit}>
<Form.Group>
<InputGroup>
<Form.File

View file

@ -102,7 +102,7 @@ export default () => {
return (
<CSSTransition classNames="react-router" appear in timeout={300}>
<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 */}
<Form.Group>
<InputGroup>

View file

@ -60,7 +60,7 @@ export default () => {
height: '85%',
}}
>
<Container className="perfect-width">
<Container>
<h2 className="text-center py-3">Shorten a URL</h2>
<Form onSubmit={submit} className="mb-3">
<Form.Row className="align-items-center justify-content-center">

View file

@ -4,7 +4,7 @@ import { Nav, Navbar } from 'react-bootstrap';
import NavLinkItem from './NavLinkItem';
export default () => (
<Navbar expand="lg" collapseOnSelect>
<Navbar expand="lg" collapseOnSelect style={{ zIndex: 9999999999999 }}>
<Navbar.Brand>Dev Tools</Navbar.Brand>
<Navbar.Toggle aria-controls="responsive-navbar-nav" />
<Navbar.Collapse>

View file

@ -10,11 +10,6 @@
font-style: normal;
}
.perfect-width {
max-width: 768px;
width: 100%;
}
.mt-10 {
margin-top: 33%;
}
@ -49,13 +44,11 @@ input.custom-file-input {
}
.paste-edit {
aspect-ratio: 22/9;
width: 100%;
max-width: 1024px;
}
.paste-view {
aspect-ratio: 16/9;
width: 100%;
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) {
.paste-edit {
aspect-ratio: 22/9;
}
.paste-view {
aspect-ratio: 16/9;
}
body {
margin: 0;
padding: 0;