Skip to content

Commit

Permalink
fix: make gen2 banner button align better with text
Browse files Browse the repository at this point in the history
  • Loading branch information
reesscot committed Dec 7, 2023
1 parent 7487fa9 commit 7453e2f
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/styles/banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
&__inner {
display: flex;
flex-direction: column;
align-items: flex-start;
}
&__heading {
font-weight: 700;
Expand All @@ -18,12 +19,10 @@
color: var(--amplify-colors-purple-100);
}
&__button {
margin: 0 auto;
background-color: var(--amplify-colors-purple-10);
color: var(--amplify-colors-purple-80);
border-color: var(--amplify-colors-purple-20);
flex: 0 0 auto;
align-self: center;
}
}

Expand All @@ -33,14 +32,3 @@
border: 1px solid var(--amplify-colors-teal-40);
}
}

@container (min-width: 700px) {
.message-banner {
&__inner {
flex-direction: row;
}
&__button {
margin: auto 0;
}
}
}

0 comments on commit 7453e2f

Please sign in to comment.