Skip to content

Commit

Permalink
Fixes the wrong color issue of dropdown buttons (#12691)
Browse files Browse the repository at this point in the history
  • Loading branch information
SArora12 authored Jan 20, 2024
1 parent e33c810 commit 8b428f8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -435,14 +435,14 @@ exports[`InstructorHomePageComponent should snap with one course with one feedba
ngbdropdownmenu=""
>
<a
class="btn btn-info btn-sm dropdown-item"
class="btn btn-light btn-sm dropdown-item"
href="/web/instructor/courses/enroll?courseid=CS1231"
tmrouterlink="/web/instructor/courses/enroll"
>
Enroll
</a>
<a
class="btn btn-info btn-sm dropdown-item"
class="btn btn-light btn-sm dropdown-item"
href="/web/instructor/courses/details?courseid=CS1231"
tmrouterlink="/web/instructor/courses/details"
>
Expand Down Expand Up @@ -1037,7 +1037,7 @@ exports[`InstructorHomePageComponent should snap with one course with two feedba
ngbdropdownmenu=""
>
<a
class="btn btn-info btn-sm dropdown-item"
class="btn btn-light btn-sm dropdown-item"
href="/web/instructor/courses/details?courseid=CS3281"
tmrouterlink="/web/instructor/courses/details"
>
Expand Down Expand Up @@ -1796,14 +1796,14 @@ exports[`InstructorHomePageComponent should snap with one course with unexpanded
ngbdropdownmenu=""
>
<a
class="btn btn-info btn-sm dropdown-item"
class="btn btn-light btn-sm dropdown-item"
href="/web/instructor/courses/enroll?courseid=CS3281"
tmrouterlink="/web/instructor/courses/enroll"
>
Enroll
</a>
<a
class="btn btn-info btn-sm dropdown-item"
class="btn btn-light btn-sm dropdown-item"
href="/web/instructor/courses/details?courseid=CS3281"
tmrouterlink="/web/instructor/courses/details"
>
Expand Down Expand Up @@ -2069,14 +2069,14 @@ exports[`InstructorHomePageComponent should snap with one course with unpopulate
ngbdropdownmenu=""
>
<a
class="btn btn-info btn-sm dropdown-item"
class="btn btn-light btn-sm dropdown-item"
href="/web/instructor/courses/enroll?courseid=CS3281"
tmrouterlink="/web/instructor/courses/enroll"
>
Enroll
</a>
<a
class="btn btn-info btn-sm dropdown-item"
class="btn btn-light btn-sm dropdown-item"
href="/web/instructor/courses/details?courseid=CS3281"
tmrouterlink="/web/instructor/courses/details"
>
Expand Down Expand Up @@ -2366,14 +2366,14 @@ exports[`InstructorHomePageComponent should snap with one course without feedbac
ngbdropdownmenu=""
>
<a
class="btn btn-info btn-sm dropdown-item"
class="btn btn-light btn-sm dropdown-item"
href="/web/instructor/courses/enroll?courseid=CS1231"
tmrouterlink="/web/instructor/courses/enroll"
>
Enroll
</a>
<a
class="btn btn-info btn-sm dropdown-item"
class="btn btn-light btn-sm dropdown-item"
href="/web/instructor/courses/details?courseid=CS1231"
tmrouterlink="/web/instructor/courses/details"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ <h1>Home</h1>
<button type="button" class="btn btn-primary btn-sm" ngbDropdownToggle> Students </button>
<div ngbDropdownMenu (click)="$event.stopPropagation()">
<ng-container *ngIf="courseTabModel.instructorPrivilege.canModifyStudent">
<a class="btn btn-info btn-sm dropdown-item" tmRouterLink="/web/instructor/courses/enroll"
<a class="btn btn-light btn-sm dropdown-item" tmRouterLink="/web/instructor/courses/enroll"
[queryParams]="{courseid: courseTabModel.course.courseId}"> Enroll
</a>
</ng-container>
<a class="btn btn-info btn-sm dropdown-item" tmRouterLink="/web/instructor/courses/details"
<a class="btn btn-light btn-sm dropdown-item" tmRouterLink="/web/instructor/courses/details"
[queryParams]="{courseid: courseTabModel.course.courseId}"> View / Edit
</a>
</div>
Expand Down

0 comments on commit 8b428f8

Please sign in to comment.