Skip to content

Commit

Permalink
Fix scroll bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasReumann committed Aug 15, 2023
1 parent 821d5ae commit 6a15376
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions web/assets/css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,13 @@
}

/* Chrome, Safari and Opera */
#content::-webkit-scrollbar, #notification-list::-webkit-scrollbar, .tum-live-side-navigation::-webkit-scrollbar {
#content::-webkit-scrollbar, #notification-list::-webkit-scrollbar, .tum-live-side-navigation::-webkit-scrollbar,
#public-courses::-webkit-scrollbar, #user-courses::-webkit-scrollbar{
display: none;
}

/* IE, Edge and Firefox */
#content, #notification-list, .tum-live-side-navigation {
#content, #notification-list, .tum-live-side-navigation, #public-courses, #user-courses {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
Expand Down
4 changes: 2 additions & 2 deletions web/template/home.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
<!-- views -->
<article class="text-3 p-4 grow" :class="{'hidden' : navigation.value}">
<template x-if="state.isPublicCourses()">
<article id="public-courses" class="tum-live-course-list">
<article id="public-courses" class="tum-live-course-list h-full overflow-y-scroll">
<header>
<h1>
<i class="text-base fa-solid fa-chalkboard mr-2"></i>
Expand Down Expand Up @@ -272,7 +272,7 @@
</article>
</template>
<template x-if="state.isUserCourses()">
<article id="user-courses" class="tum-live-course-list">
<article id="user-courses" class="tum-live-course-list h-full overflow-y-scroll">
<header>
<h1>
<i class="text-base fa-solid fa-graduation-cap mr-2"></i>
Expand Down

0 comments on commit 6a15376

Please sign in to comment.