From c6ee54c2f55890b4aac0241c0b1499b06d89e9ba Mon Sep 17 00:00:00 2001 From: Mendel Konikov Date: Fri, 8 Feb 2019 10:46:32 -0500 Subject: [PATCH] Rename classes to match id --- client/coral-embed/src/SnackBar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/coral-embed/src/SnackBar.js b/client/coral-embed/src/SnackBar.js index 2799a01c5..ca9c813d4 100644 --- a/client/coral-embed/src/SnackBar.js +++ b/client/coral-embed/src/SnackBar.js @@ -35,7 +35,7 @@ export default class Snackbar { this.el.id = 'coral-notif'; const closeButton = document.createElement('div'); - closeButton.className = 'snackbar-close'; + closeButton.className = 'coral-notif-close'; for (let key in CLOSE_STYLE) { closeButton.style[key] = CLOSE_STYLE[key]; } @@ -43,7 +43,7 @@ export default class Snackbar { closeButton.onclick = () => this.clear(); this.snackbarText = document.createElement('div'); - this.snackbarText.className = 'snackbar-text'; + this.snackbarText.className = 'coral-notif-text'; this.snackbarText.style.paddingBottom = '12px'; this.el.appendChild(this.snackbarText); this.el.appendChild(closeButton);