Skip to content

Commit

Permalink
feat: chrome extension works
Browse files Browse the repository at this point in the history
  • Loading branch information
knownotunknown authored and doprz committed Mar 6, 2024
1 parent c4a738f commit 35f3c72
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/views/components/CourseCatalogMain.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import RecruitmentBanner from './injected/RecruitmentBanner/RecruitmentBanner';
import TableHead from './injected/TableHead';
import TableRow from './injected/TableRow/TableRow';
import TableSubheading from './injected/TableSubheading/TableSubheading';
import CourseCatalogInjectedPopup from './injected/CourseCatalogInjectedPopup/CourseCatalogInjectedPopup';

interface Props {
support: SiteSupport.COURSE_CATALOG_DETAILS | SiteSupport.COURSE_CATALOG_LIST;
Expand Down Expand Up @@ -79,7 +80,7 @@ export default function CourseCatalogMain({ support }: Props) {
);
})}
{selectedCourse && (
<CoursePopup
<CourseCatalogInjectedPopup
course={selectedCourse}
activeSchedule={activeSchedule}
onClose={handleClearSelectedCourse}
Expand Down
2 changes: 1 addition & 1 deletion src/views/components/PopupMain.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function PopupMain() {

return (
<ExtensionRoot>
<div className="p-4 bg-white max-w-sm mx-auto rounded-lg shadow-md">
<div className="mx-auto max-w-sm rounded-lg bg-white p-4 shadow-md">
<div className="mb-2 flex items-center justify-between bg-white">
<div className="flex items-center">
<img src={logoImage} alt="Logo" style={{ width: '40px', height: '40px', marginRight: '8px' }} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const HeadingAndActions: React.FC<HeadingAndActionProps> = ({ course, onClose, a
<Button color='ut-burntorange' variant='single' icon={Copy} onClick={handleCopy}>
{uniqueId}
</Button>
<button className='btn bg-transparent p-0' onClick={onClose}>
<button className='bg-transparent p-0 btn' onClick={onClose}>
<CloseIcon className='h-7 w-7' />
</button>
</div>
Expand Down

0 comments on commit 35f3c72

Please sign in to comment.