diff --git a/src/css/content.scss b/src/css/content.scss index 92cb4ca..eebd751 100644 --- a/src/css/content.scss +++ b/src/css/content.scss @@ -1,31 +1,26 @@ #moco-bx-root { - position: fixed; - bottom: 40px; - left: 50%; - margin-left: -30px; - z-index: 1000; - - height: 60px; - width: 60px; - background-color: white; - border-radius: 50%; - box-shadow: -1px -1px 15px 4px rgba(0, 0, 0, 0.05), - 2px 2px 15px 4px rgba(0, 0, 0, 0.05); - padding: 5px; - - cursor: pointer; - iframe { border: 0; } .moco-bx-bubble { + position: fixed; + bottom: 2rem; + z-index: 1000; + height: 60px; + width: 60px; + background-color: white; + border-radius: 50%; + box-shadow: -1px -1px 15px 4px rgba(0, 0, 0, 0.05), + 2px 2px 15px 4px rgba(0, 0, 0, 0.05); + padding: 5px; + + cursor: pointer; + display: flex; flex-direction: column; justify-content: space-around; align-items: center; - width: 100%; - height: 100%; img.moco-bx-logo { width: 30px; @@ -61,6 +56,7 @@ background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */ .moco-bx-popup-content { + box-sizing: content-box; background-color: white; width: 600px; height: 400px; diff --git a/src/js/components/Bubble.js b/src/js/components/Bubble.js index f5fd1d4..d27b0c4 100644 --- a/src/js/components/Bubble.js +++ b/src/js/components/Bubble.js @@ -140,7 +140,7 @@ class Bubble extends Component { const { service, settings, browser } = this.props return ( -