Skip to content

Commit

Permalink
Make positioning of Alert icon more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkudrna committed Dec 31, 2019
1 parent 03f25b1 commit 4a943d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/lib/components/ui/Alert/Alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
}

.icon {
position: relative;
top: 1px;
display: flex;
flex-direction: column;
flex: none;
align-items: center;
align-self: flex-start;
justify-content: flex-start;
justify-content: center;
height: calc(#{$alert-line-height} * #{$alert-font-size});
}

.message {
Expand Down
1 change: 0 additions & 1 deletion src/lib/components/ui/Alert/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
@mixin alert() {
position: relative;
display: flex;
align-items: center;
width: 100%;
min-height: $alert-min-height;
padding: $alert-padding;
Expand Down

0 comments on commit 4a943d4

Please sign in to comment.