JSFiddle - React, Tailwind, and code Playground
IconDiv
by Christopher O
HTML
<div class="chatfullyIconDiv">
<img id="chatfullyMainIcon" src="https://web.chatfully.io/chatfully-icon-white.svg">
</div>
CSS
.chatfullyIconDiv {
/* DIV container for main icon */
position: fixed !important;
z-index: 9999 !important;
width: 50px;
height: 50px;
bottom: 38px;
right: 20px;
-webkit-filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5)) !important;
filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5)) !important;
cursor: pointer !important;
background-color: #0f0;
border-radius: 50% !important;
/*padding:5px !important;*/
justify-content: center !important;
align-items: center !important;
text-align: center !important;
}
#chatfullyMainIcon{
width: 30px;
height: 30px;
object-fit: contain !important;
}
JavaScript
document.getElementById('chatfullyMainIcon').style.marginTop='4px';