Skip to content

Commit

Permalink
fix: add button class on Admin and Student page, and pencil icon fix (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
CK-7vn authored Jan 8, 2025
1 parent 350ae26 commit 3548edf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions frontend/src/Pages/AdminManagement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
ArrowPathRoundedSquareIcon,
LockClosedIcon,
TrashIcon,
PencilIcon,
PencilSquareIcon,
PlusCircleIcon
} from '@heroicons/react/24/outline';
import {
Expand Down Expand Up @@ -177,7 +177,7 @@ export default function AdminManagement() {

<div className="tooltip tooltip-left" data-tip="Add Admin">
<button
className="btn btn-primary btn-sm text-base-teal"
className="button"
onClick={() => addUserModal.current?.showModal()}
>
<PlusCircleIcon className="w-4 my-auto" />
Expand Down Expand Up @@ -240,7 +240,7 @@ export default function AdminManagement() {
setTargetUser(user);
editUserModal.current?.showModal();
}}
icon={PencilIcon}
icon={PencilSquareIcon}
/>
<ULIComponent
dataTip={
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/Pages/StudentManagement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export default function StudentManagement() {
data-tip="Add Student"
>
<button
className="btn btn-primary btn-sm text-base-teal"
className="button "
onClick={() => addUserModal.current?.showModal()}
>
<PlusCircleIcon className="w-4 my-auto" />
Expand Down

0 comments on commit 3548edf

Please sign in to comment.