Skip to content

Commit

Permalink
fix(Button Icons): Alignment is slightly off (#1323)
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreykwan authored Jun 28, 2023
1 parent 4b63ad7 commit dafa53a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@
.insert-button-div {
margin-top: 10px;
margin-left: 30px;
}
}

.mat-icon {
margin: 0px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@

.componentHeader {
padding: 2px;
}
}

.mat-icon {
margin: 0px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ <h3 fxLayout="row" fxLayoutAlign="start center" class="title-header">
mat-icon-button
aria-label="Alerts"
i18n-aria-label
class="mat-icon-button notification-btn notifications-menu-button"
[matMenuTriggerFor]="notificationsMenu"
>
<span *ngIf="newNotifications.length > 0" class="notification-count"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
margin: 0 4px;
}

.notifications-menu-button {
width: 40px !important;
}

/* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version. */
.mat-list-item-content {
padding: 0;
Expand Down
1 change: 0 additions & 1 deletion src/assets/wise5/common/side-menu/side-menu.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
id="{{ view.route }}"
aria-label="{{ view.label }}"
(click)="goToView(view)"
class="md-icon-button menu-sidebar__link"
matTooltip="{{ view.name }}"
matTooltipPosition="after"
>
Expand Down
5 changes: 0 additions & 5 deletions src/assets/wise5/common/side-menu/side-menu.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
color: rgba(0,0,0,0.54);
}

.menu-sidebar__link {
padding-top: 8px;
padding-bottom: 8px;
}

.mat-icon:hover {
text-decoration: underline;
}

0 comments on commit dafa53a

Please sign in to comment.