# Code component not rendering as expected

**URL:** <https://forum.builder.io/t/code-component-not-rendering-as-expected/1233>\
**Category:** Technical Questions\
**Created:** [October 25, 2021, 6:02pm UTC](https://forum.builder.io/t/code-component-not-rendering-as-expected/1233 "2021-10-25T18:02:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![csuh](https://avatars.discourse-cdn.com/v4/letter/c/d78d45/32.png) [@csuh](https://forum.builder.io/u/csuh)\
**Post date:** [October 25, 2021, 6:02pm UTC](https://forum.builder.io/t/code-component-not-rendering-as-expected/1233/1 "2021-10-25T18:02:44Z")

</div>

**Builder content link**

> **[Builder.io: Drag and drop page builder and CMS](https://builder.io/content/f5291c3b2afa4dcbb41de52ce4786802)**
>
> Build and optimize digital experiences for any tech stack, visually.

**Builder public api key**  
53a25cb327d349fe933b1df2eb2176a4

**What are you trying to accomplish**  
Troubleshoot [builder.io](http://builder.io) code component named “Insurance Checker”. On safari mobile, the component is not rendering as expected.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/1X/bb8d8013c67c190b855aca16169a08601b6ea420.jpeg)

It’s expected to look like this ([www.hellotend.com/insurance](http://www.hellotend.com/insurance))

 ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/1X/402bbf25aeb335ee8743d9fa6f37fd8016c83158.png)

**Code stack you are integrating Builder with**  
React

---

<div class="post-metadata">

**Author:** ![maddy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/maddy/32/11_2.png) [@maddy](https://forum.builder.io/u/maddy)\
**Post date:** [October 27, 2021, 5:06pm UTC](https://forum.builder.io/t/code-component-not-rendering-as-expected/1233/2 "2021-10-27T17:06:16Z")

</div>

Hi Caroline,

We discussed this over chat, but I wanted to add more details here as well! The “Insurance Checker” component’s styling was only rendering incorrectly for the entry with A/B testing. I’d recommend checking out this [forum post](https://forum.builder.io/t/a-b-test-variations-styling-doesn-t-often-look-right-using-emotion-css-styling-with-next-js/1197) to resolve this.
