Skip to content

Commit

Permalink
- fixed icon alignment in alert component
Browse files Browse the repository at this point in the history
- added padding for y axis in alert component
  • Loading branch information
martinkrol-spg committed Sep 13, 2024
1 parent a834e56 commit 60fbfd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/material-addons/src/lib/alert/alert.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
border: 1px solid transparent;

&.small {
padding: 0 8px;
padding: 4px 8px;
font-size: 14px;
}

Expand All @@ -25,6 +25,7 @@
}

.alert .icon {
display: flex;
margin-right: 8px;
}

Expand Down
1 change: 1 addition & 0 deletions src/app/example-components/alerts/alerts.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
size="small"
(close)="onCloseAlert()"
(action)="onActionAlert()"
[closeable]="false"
>
</mad-alert>

Expand Down

0 comments on commit 60fbfd8

Please sign in to comment.