bootstrap prevent dropdown goes off screen code example
Example: bootstrap dropdown going off page
<!--add dropdown-menu-right class to the dropdown-menu -->
<div class="dropdown-menu dropdown-menu-right">
<!--add dropdown-menu-right class to the dropdown-menu -->
<div class="dropdown-menu dropdown-menu-right">