Skip to content

Commit

Permalink
Attempting to fix nested dropdown. Can't test JS locally at the moment
Browse files Browse the repository at this point in the history
  • Loading branch information
AACooper1 committed May 28, 2024
1 parent 369afa3 commit bdaaa67
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<a class="dropdown-item" href="UMRParsingWorkshop.html">Overview</a>
</li>
<li>
<a class="dropdown-item" href="Workshop_Program.html">Program</a>
<a class="dropdown-item" href="WorkshopProgram.html">Program</a>
</li>
</ul>
</li>
Expand Down
21 changes: 21 additions & 0 deletions law2020.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,27 @@ table, th, td, img {
}


.navbar .dropdown-menu .dropdown-submenu {
position: absolute;
top: 0;
left: 100%;
margin-top: -1px;
}

.dropdown-submenu .dropdown-menu {
display: none;
position: absolute;
left: 100%;
top: 0;
}

.dropdown-submenu:hover > .dropdown-menu,
.dropdown-submenu:focus > .dropdown-menu {
display: block;
}



/*------------------------------ CONTENTS ------------------------------*/

#contents {
Expand Down

0 comments on commit bdaaa67

Please sign in to comment.