Skip to content

Commit 4149e10

Browse files
committed
chore: overview changes
1 parent 6382940 commit 4149e10

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

client/src/Components/ClassView/RegisterBtn.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const RegisterBtn: React.FC<{ courseId: number }> = ({ courseId }) => {
77
window.open(
88
window.location.origin + `/register/${courseId}`,
99
'_blank',
10-
'toolbar=0,location=0,menubar=0, resizable=yes, width=500, height=500'
10+
'toolbar=0,location=0,menubar=0, resizable=yes, width=500, height=500',
1111
);
1212
}
1313

client/src/Components/ClassView/StudentElement.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ interface Props {
77

88
const StudentElement: React.FC<Props> = ({ name, lastname }) => {
99
return (
10-
<div className='flex justify-center place-items-center h-10'>
11-
<h3>{lastname}</h3>
12-
<h3>{name}</h3>
10+
<div className='flex justify-center place-items-center p-4'>
11+
<h3>{lastname} {name}</h3>
1312
</div>
1413
);
1514
};

client/src/Components/TeacherHomepage/Navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const Navbar: React.FC<{ user: User }> = ({ user }) => {
2626
<h3 className='pr-8 font-lato font-bold text-lg'>
2727
{user.name} {user.lastname}
2828
</h3>
29-
<button onClick={handleLogout}>Logout</button>
29+
<button onClick={handleLogout} className="font-normal hover:text-green">Logout</button>
3030
</section>
3131
</nav>
3232
);

0 commit comments

Comments
 (0)