Skip to content

Commit e4100f7

Browse files
committed
added padding to jumbotron apply
1 parent 7536f4e commit e4100f7

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/hooks/useBreakpoint.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import { useState, useEffect } from 'react';
32
import { debounce } from 'lodash';
43

@@ -55,10 +54,7 @@ export const useBreakpoint = () => {
5554
}
5655

5756
const [size, setSize] = useState(() => resolveBreakpoint(window.innerWidth));
58-
59-
const setBreakpoint = () => {
60-
setSize(resolveBreakpoint(window.innerWidth));
61-
};
57+
const setBreakpoint = () => setSize(resolveBreakpoint(window.innerWidth));
6258

6359
useEffect(() => {
6460
const calcInnerWidth = debounce(setBreakpoint, 200);

src/pages/apply.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default function apply() {
3636
<Navbar />
3737
<div className="center" style={{ height: `${jumbotronHeightPx}px` }}>
3838
<div
39-
className="center"
39+
className="center p-4"
4040
style={{ flexDirection: 'column', maxWidth: '800px' }}
4141
>
4242
<h1 className="pg-heading">

0 commit comments

Comments
 (0)