Reviews floating Bagde close Button Background

I would like a round background for the close button.
But the cross is not centred?
FloatingBadge

My CSS

.es-close-button-container {
  display: flex;
  align-items: center; 
  justify-content: center; 
  width: 18px; 
  height: 18px;
  border-radius: 50%;
  background-color: green; 
  position: absolut; 
  margin:-10px -10px 0 0;
}
4 Likes

Hey there, @Roge.r and welcome to the Community :wave:

Works like a charm - thanks a ton for sharing your wisdom with us :wink:

Hi @Roge.r welcome to the Community.
This is definitely influenced by another CSS code. For me it looks like this with your code.

image

1 Like