Skip to content

Commit

Permalink
Reposition delete button in segmented button group for better accessi…
Browse files Browse the repository at this point in the history
…bility
  • Loading branch information
JohanGrims committed Dec 7, 2024
1 parent c71ff7d commit 86efbd5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/admin/Students.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -280,10 +280,6 @@ export default function Students() {
</mdui-segmented-button-group>
) : (
<mdui-segmented-button-group disabled>
<mdui-segmented-button
icon="delete"
onClick={() => removeClass(classId)}
></mdui-segmented-button>
<mdui-segmented-button
icon="edit"
onClick={() => {
Expand All @@ -303,6 +299,10 @@ export default function Students() {
}
}}
></mdui-segmented-button>
<mdui-segmented-button
icon="delete"
onClick={() => removeClass(classId)}
></mdui-segmented-button>
</mdui-segmented-button-group>
)}
</div>
Expand Down

0 comments on commit 86efbd5

Please sign in to comment.