Increase header zIndex to hide student transaction dropdown menu if scrolling down

This commit is contained in:
Keannu Christian Bernasol 2023-12-22 15:36:13 +08:00
parent b76b1e17fb
commit a6e91830c4
3 changed files with 280 additions and 2 deletions

View file

@ -5,6 +5,7 @@ import TechnicianWidgets from "../../Components/DashboardPage/Technician/Technic
import TechnicianEquipmentButtons from "../../Components/DashboardPage/Technician/TechnicianEquipmentButtons";
import TechnicianLogButtons from "../../Components/DashboardPage/Technician/TechnicianLogButtons";
import StudentTransactionListView from "../../Components/DashboardPage/Student/StudentTransactionListView";
import StudentButtons from "../../Components/DashboardPage/Student/StudentButtons";
export default function Dashboard() {
return (
<div style={styles.background}>
@ -16,6 +17,7 @@ export default function Dashboard() {
</RestrictedComponent>
<RestrictedComponent allow_only={"Student"}>
<StudentTransactionListView />
<StudentButtons />
</RestrictedComponent>
<RestrictedComponent allow_only={"Teacher"}>
<p style={styles.text_dark}>Welcome teacher!</p>