mirror of
https://github.com/lemeow125/Borrowing-TrackerFrontend.git
synced 2025-06-29 17:05:47 +08:00
Increase header zIndex to hide student transaction dropdown menu if scrolling down
This commit is contained in:
parent
b76b1e17fb
commit
a6e91830c4
3 changed files with 280 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue