Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/subject/DepartmentSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ const DepartmentSelector: React.FC = () => {
{selectedTrack === null ? '선택해주세요' : selectedTrack}
</Button>
</PopoverTrigger>
<PopoverContent className="absolute w-[800px] bg-zinc-50 p-4 rounded-xl shadow-xl z-50 left-[-500px]">
<PopoverContent className="bg-zinc-50 p-4 rounded-xl shadow-xl z-50">
<div className="mb-6 relative">
<Input
type="text"
Expand Down
3 changes: 1 addition & 2 deletions src/content/subject/SubjectTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@ const convertPeriodsInString = (input: string): string => {
목: '목',
금: '금',
토: '토',
일: '일',
};

const periodRegex = /([월화수목금])(\d+)(M?)~(\d+)(M?)/g;
const periodRegex = /([월화수목금토일])(\d+)(M?)~(\d+)(M?)/g;

return input.replace(periodRegex, (match, day, startNum, startM, endNum, endM) => {
const dayFull = days[day] || day;
Expand Down
2 changes: 1 addition & 1 deletion src/content/suganginwon/DepartmentSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const DepartmentSelector: React.FC<GroupedDataProp> = (groupedDataProp: GroupedD
{selectedTrack === null ? '선택해주세요' : selectedTrack}
</Button>
</PopoverTrigger>
<PopoverContent className="absolute w-[800px] bg-zinc-50 p-4 rounded-xl shadow-xl z-50">
<PopoverContent className=" bg-zinc-50 p-4 rounded-xl shadow-xl z-50">
<div className="mb-6 relative">
<Input
type="text"
Expand Down
Loading