Skip to content

Commit d8284b2

Browse files
Adjust calendar div margin to fix overlap bug
1 parent 7557f4b commit d8284b2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Calendar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Calendar() {
55
return (
66
<main style={{ minHeight: 'calc(100vh - 300px)' }}>
77
<h1 className ='header-section'><strong>Calendar</strong></h1>
8-
<div style = {{ display: 'flex', justifyContent: 'center', alignItems: 'center', height: '80vh', marginTop: '-100px'}}>
8+
<div style = {{ display: 'flex', justifyContent: 'center', alignItems: 'center', height: '80vh', marginTop: '20px'}}>
99
<iframe
1010
src = "https://calendar.google.com/calendar/embed?src=tamu.quantum%40gmail.com&ctz=America%2FChicago"
1111
style = {{border: 0, marginBottom:'-50px'}}
@@ -21,4 +21,4 @@ function Calendar() {
2121
);
2222
}
2323

24-
export default Calendar;
24+
export default Calendar;

0 commit comments

Comments
 (0)