Fix side bar size and add confirm box to removing subscriptions

This commit is contained in:
PrestonN 2019-08-14 09:56:33 -04:00
parent 5bbc2d6655
commit ee6f059111
2 changed files with 2 additions and 2 deletions

View File

@ -387,7 +387,7 @@ a {
}
#sideNav {
height: 93vh;
height: calc(100vh - 60px);
width: 250px;
overflow-y: auto;
position: fixed;

View File

@ -16,5 +16,5 @@
-->
<li onclick='goToChannel("{{channelId}}")'>
<img src='{{channelIcon}}' /> {{channelName}}
<i class='fas fa-times' onclick='event.stopPropagation();removeSubscription("{{channelId}}")'></i>
<i class='fas fa-times' onclick='event.stopPropagation();confirmFunction("Are you sure you want to remove this channel from your subscriptions?", removeSubscription, "{{channelId}}")'></i>
</li>