Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix div overflow blocking clicks on trailing filter options #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
h6 {
font-size: 0.9rem;
margin: 0;
margin-top: 3%;
font-weight: 600;
font-style: italic;
}
Expand Down Expand Up @@ -182,6 +181,9 @@
flex-wrap: wrap;
flex-direction: column;
}
.filter {
margin-top: 3%;
}
#explanation {
grid-area: d;

Expand Down Expand Up @@ -612,7 +614,7 @@ <h1 id="title">NBN HOUSING GUIDE</h1>
<div id="filters">
<h3 id="filter-title">Filters</h3>
<form>
<div>
<div class="filter">
<h6>Location</h6>
<input type="checkbox" id="North" name="north" />
<label for="North">North Campus</label>
Expand All @@ -621,7 +623,7 @@ <h6>Location</h6>
<label for="South">South Campus</label>
<br />
</div>
<div>
<div class="filter">
<h6>Dorm Type</h6>
<input type="checkbox" id="Hall" name="hall" />
<label for="Hall">Res Hall</label>
Expand All @@ -632,7 +634,7 @@ <h6>Dorm Type</h6>
</div>

<!--dorm sizes-->
<div>
<div class="filter">
<h6>Size</h6>
<input type="checkbox" id="verysmall" name="verysmall" />
<label for="verysmall"> < 50 people </label>
Expand All @@ -649,7 +651,7 @@ <h6>Size</h6>
</div>

<!--Room type-->
<div>
<div class="filter">
<h6>Room Type</h6>
<input type="checkbox" id="singles" name="singles" />
<label for="singles">Singles </label>
Expand All @@ -662,7 +664,7 @@ <h6>Room Type</h6>
<br />
</div>
<!--misc-->
<div>
<div class="filter">
<h6>Misc</h6>
<input type="checkbox" id="all_gender" name="all_gender" />
<label for="all_gender">All gender housing</label>
Expand Down