.infoWindow { position: relative; display: grid; padding: 4px 4px 12px 4px; margin-bottom: -4px; } .content { background-color: var(--Base-Surface-Primary-light-Normal); border-radius: var(--Corner-radius-md); box-shadow: 0px 0px 8px 3px rgba(0, 0, 0, 0.1); position: relative; overflow: hidden; } .arrow { position: relative; height: 12px; width: 25px; filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.1)); justify-self: center; &::after { content: ""; background-color: var(--Base-Surface-Primary-light-Normal); clip-path: polygon(0 0, 50% 100%, 100% 0); height: 12px; left: 0; position: absolute; top: -1px; width: 25px; } }