Skip to content

Commit

Permalink
Update snackbar.js
Browse files Browse the repository at this point in the history
  • Loading branch information
treeder authored Sep 16, 2024
1 parent 2f6190e commit 04aadba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snackbar/snackbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class SnackBar extends LitElement {
#snackbar {
/* visibility: hidden; */
min-width: 250px;
transform: translateX(-50%); // centers
transform: translateX(-50%); /* centers the div */
background-color: var(--md-sys-color-inverse-surface, #333);
color: var(--md-sys-color-inverse-on-surface, white);
text-align: center;
Expand Down Expand Up @@ -147,4 +147,4 @@ class SnackBar extends LitElement {
}
}

customElements.define('md-snackbar', SnackBar)
customElements.define('md-snackbar', SnackBar)

0 comments on commit 04aadba

Please sign in to comment.