Skip to content

Commit

Permalink
allow all files + width course page
Browse files Browse the repository at this point in the history
  • Loading branch information
Bendemeurichy committed May 22, 2024
1 parent fc5fe14 commit 5da636a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions frontend/frontend/src/pages/assignmentPage/AssignmentPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ export function AssignmentPage() {
It shows metadata about the submissions and allows the teacher to download them.
The metadata includes group number, submission time, score, and status.
*/}
<Card sx={{ width: '97%' }}>
<Card sx={{ width: '95%' }}>
<Box
aria-label={'courseHeader'}
sx={{
Expand Down Expand Up @@ -1256,11 +1256,7 @@ export function AssignmentPage() {
onFileChange={
handleFileChange
}
fileTypes={[
'.zip',
'.pdf',
'.txt',
]}
fileTypes={['*']}
tooltip={t('uploadToolTip')}
/>
</Grid>
Expand Down
2 changes: 1 addition & 1 deletion frontend/frontend/src/pages/subjectsPage/ProjectsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export function ProjectsView({

return (
<>
<Card>
<Card sx={{ width: '95%' }}>
<Box
aria-label={'courseHeader'}
sx={{
Expand Down

0 comments on commit 5da636a

Please sign in to comment.