Skip to content

Commit

Permalink
calendar mobile friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
Reina128 committed May 28, 2024
1 parent 105492c commit cefe695
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion layouts/_default/events.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<p>Check out our upcoming events!</p>
</div>
<hr>
<div style="padding-top: 50px;">
<div class = "calendar">
<iframe src="https://docs.google.com/spreadsheets/d/e/2PACX-1vTCALWzutNFb1WWktBxmlvQjkmhTHXycwB2ysGFP8mOjunsBbn7_bjWBeeOpAupIuH3SIGTNsh-xonp/pubhtml?gid=1316858529&amp;single=true&amp;widget=true&amp;headers=false" width="1000" height="600" frameborder="0"></iframe>
</div>

Expand Down Expand Up @@ -42,5 +42,21 @@
border-radius: 0 20px 20px 0;
margin-bottom: 20px;
}

.calendar {
padding-top: 50px;
position: relative;
height: 0;
padding-bottom: 70%;
overflow: hidden;
}

.calendar iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
{{ end}}

0 comments on commit cefe695

Please sign in to comment.