Skip to content

Commit

Permalink
437 - swap series and semester pickers (#456)
Browse files Browse the repository at this point in the history
* fix #437 - swap series and semester picker

* cleanup old styles
  • Loading branch information
rtrembecky authored Nov 23, 2024
1 parent 722bbcc commit 64e1c91
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/SemesterPicker/SemesterPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,14 @@ export const SemesterPicker: FC<{page: 'zadania' | 'vysledky' | 'admin/opravovan
flexDirection: 'row',
alignItems: 'center',
// wrap na velmi nizkych rozliseniach
flexWrap: 'wrap-reverse',
flexWrap: 'wrap',
rowGap: 0.5,
zIndex: 1000,
userSelect: 'none',
// pre pouzitie v TopGrid + pri wrapnuti
justifyContent: 'end',
}}
>
{page !== 'admin/opravovanie' && <Dropdown title={'Séria'} options={dropdownSeriesList} />}
<Dropdown title={'Semester'} options={dropdownSemesterList} />
{page !== 'admin/opravovanie' && <Dropdown title={'Séria'} options={dropdownSeriesList} />}
</Stack>
)
}

0 comments on commit 64e1c91

Please sign in to comment.