Skip to content

Commit

Permalink
Bugfix/uni 304 load courses (#305)
Browse files Browse the repository at this point in the history
* UNI-304: changed layout screen height

* UNI-304: course titles set to not break

---------

Co-authored-by: Bob Chen <[email protected]>
Co-authored-by: Jared L <[email protected]>
Co-authored-by: Dylan W <[email protected]>
Co-authored-by: 3syth <[email protected]>
Co-authored-by: Adrian Balbalosa <[email protected]>
Co-authored-by: ur-ja <[email protected]>
Co-authored-by: Maximilian Falco Widjaya <[email protected]>
Co-authored-by: dylan <birds@DylanW-PC>
Co-authored-by: Dylan <[email protected]>
  • Loading branch information
10 people authored Jun 17, 2024
1 parent 333a07f commit d492211
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default async function RootLayout({
<AlertProvider>
<ThemeProviderComponent>
<Navbar userZid={session?.user?.id} />
<div className='ml-20 xs:ml-15 h-screen overflow-y-scroll'>
<div className='ml-20 xs:ml-15'>
{children}
</div>
</ThemeProviderComponent>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/CourseCard/CourseCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function CourseCard({
</div>
</div>
{/* Course title */}
<p className='text-sm text-unilectives-headings dark:text-gray-200 h-16 break-all line-clamp-3'>
<p className='text-sm text-unilectives-headings dark:text-gray-200 h-16 line-clamp-3'>
{title}
</p>
{/* Terms */}
Expand Down
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d492211

Please sign in to comment.