T
Typebotβ€’4w ago
Darren

Layout broken !

Hi Baptiste Layout has been broken for a few days (weeks?) and I didn't touch anything to trigger this issue. It's all horizontal... and weird Some screenshots attached
No description
No description
62 Replies
Baptiste
Baptisteβ€’4w ago
Can you send the link to your bot by DM? Let me try to reproduce Ok indeed I can reproduce, it's a recent regression I am pushing a fix now, it will fix it automatically on your end. v0.9.8
Darren
DarrenOPβ€’4w ago
Thanks Baptiste ! Can I have a fourchette of when the push will be live ?
Baptiste
Baptisteβ€’4w ago
Should already be fixed, maybe your site is caching the embed URL
Darren
DarrenOPβ€’4w ago
Cached cleared everywhere WPRocket + Redis Object Cache I just added both use cases on this link so you can see it live
Baptiste
Baptisteβ€’4w ago
Works on my end, so it comes with your local cache try in private navigation
Darren
DarrenOPβ€’4w ago
No description
Darren
DarrenOPβ€’4w ago
Let me check on a diff computer Also, thanks for your extremely fast support πŸ™‚
Baptiste
Baptisteβ€’4w ago
Try with Network tab open + Disable cache checkbox
No description
Baptiste
Baptisteβ€’4w ago
No worries it's a critical issue
Darren
DarrenOPβ€’4w ago
I can confirm the bug is showing on a diff computer, on the same network, with Safari Let me do that
Darren
DarrenOPβ€’4w ago
No description
Darren
DarrenOPβ€’4w ago
Better Fonts are weird tho And still get a weird margin left and right for the middle one
Darren
DarrenOPβ€’4w ago
This is when I activate the official Wordpress plugin, the fonts for the bubble are back to normal
No description
Darren
DarrenOPβ€’4w ago
Also, might be important : this is how I call a Typebot for my WP website I use a Snippet
No description
Darren
DarrenOPβ€’4w ago
Alright, this is interesting When I call the Typebot with your official WP plug-in, it seems to work. When I disable it for a specific page, and call it with my snippet instead, it's back to this :
No description
Darren
DarrenOPβ€’4w ago
Also interesting : disabling ACSS fix the issue with the bubble chat
No description
Darren
DarrenOPβ€’4w ago
I'm kinda lost here πŸ˜… Sorry for the extra work, I don't really know what to test/do now
Baptiste
Baptisteβ€’4w ago
What should we fix first?
Darren
DarrenOPβ€’4w ago
Would it be possible that Typebot chatbot stylings is being overloaded by the website stylings ?
Darren
DarrenOPβ€’4w ago
Disabling ACSS changes the chatbot styling, notice the border radius of the buton for example
No description
No description
Darren
DarrenOPβ€’4w ago
No description
No description
Darren
DarrenOPβ€’4w ago
I might go insane. Is this normal ? This is the same bot for both
No description
Darren
DarrenOPβ€’4w ago
To be fair I don't really know. It was working fine a few days/weeks ago, and I can't find one main reason it's not working now. I checked, ACSS wasn't updated for awhile, and Typebot + ACSS was working fine before, so I don't think the issue came from them. Any ideas on your side ?
Baptiste
Baptisteβ€’4w ago
The font could be another issue, let's focus on the window size issue: that is definitely something that is cached on your end because I can load it just fine on my end for your website
Darren
DarrenOPβ€’4w ago
You see this exactly ? I re-flushed all cache, and restarted Safari We can go from this if this is also what you are seing
No description
Baptiste
Baptisteβ€’4w ago
Yes so the only issue now is the font size
Darren
DarrenOPβ€’4w ago
But you're also missing the drop-shadow then ?
Baptiste
Baptisteβ€’4w ago
Oh right, there's a missing drop-shadow
Darren
DarrenOPβ€’4w ago
(I'm french btw, if you want we can continue this discussion in french)
Baptiste
Baptisteβ€’4w ago
It's better to keep EN for record Alright, let me see if I can fix the shadow Pushing a fix for the shadow. The only thing that'll remain is font size?
Darren
DarrenOPβ€’4w ago
I think so ! Let me know when it's live so I can flush the cache
Baptiste
Baptisteβ€’4w ago
It's live
Darren
DarrenOPβ€’4w ago
No description
Darren
DarrenOPβ€’4w ago
Is it any different on your end ?
Baptiste
Baptisteβ€’4w ago
You have your cache still I can't see the new version on your site But as you can see: https://cdn.jsdelivr.net/npm/@typebot.io/js@0/dist/web.js It is updated, yours is still on 9.8 You have something that caches it, I don't know what
Darren
DarrenOPβ€’4w ago
Flushed one more time
Darren
DarrenOPβ€’4w ago
No description
Darren
DarrenOPβ€’4w ago
Drop shadow is here now !
Baptiste
Baptisteβ€’4w ago
πŸ‘ Working on fixing font-size issue
Darren
DarrenOPβ€’4w ago
Now let's tackle the font size ? Oh, great !
Baptiste
Baptisteβ€’4w ago
the issue is that you have font-size: 65% applied to your html tag Do you know why you have that?
Darren
DarrenOPβ€’4w ago
Thanks for checking this ! Can I ask how you found this ? Nope, this seems pretty dumb imo
Baptiste
Baptisteβ€’4w ago
No description
Baptiste
Baptisteβ€’4w ago
Inspecting the styles of the html tag It's automatic css that applies that
Darren
DarrenOPβ€’4w ago
We're talking about https://automaticcss.com/ ?
Automatic.css
CSS Framework for WordPress - Automatic.css (ACSS)
Automatic.css (ACSS) is a CSS Utility Framework for WordPress that speeds up workflow, solves common problems, and makes sites easier to maintain.
Darren
DarrenOPβ€’4w ago
If so, I wonder why I got this issue now, and it has been working for months before Could it be that you changed something in Typebot recently ? Something that let the website decides the styling, instead of Typebot ? It's not a criticism, because if you did this, you might have good reasons. I'm just thinking about what could have trigger this issue
Darren
DarrenOPβ€’4w ago
Found this in ACSS
No description
Baptiste
Baptisteβ€’4w ago
Yes we upgraded Tailwind (which is how we apply styling to the embed widget) to the latest major version! And there are some edge cases I did not think about
Darren
DarrenOPβ€’4w ago
(Also, love your dedication in the investigation in order to help me πŸ₯πŸ«ΆπŸΌ)
Baptiste
Baptisteβ€’4w ago
Can this be turned up to 100%? πŸ˜‚πŸ₯
Darren
DarrenOPβ€’4w ago
Sure ! Give me a sec
Darren
DarrenOPβ€’4w ago
Done
No description
Darren
DarrenOPβ€’4w ago
Back to normal indeed...
Baptiste
Baptisteβ€’4w ago
OK without breaking anything else? Let me know if you find anything else
Darren
DarrenOPβ€’4w ago
Putting 100% broke a lot of stuff lol But it was because I was building the website with the wrong global size, and found workaround to fix it In short : this Typebot bug put the light on a major misconfiguration on my end ! Thanks dude πŸ™‚
Darren
DarrenOPβ€’4w ago
Fluid Text | Automatic CSS Documentation
Automatic.css’s typography system controls the font size of text across your site.
No description
Darren
DarrenOPβ€’4w ago
So it wasn't a misconfiguration on my end... it was the... default ? I'm confused. I'm turning to you as you have more dev experience than I do : does this doc makes sense about the 62.5%. ? I can confirm : it's also 62.5% on ALL my clients websites.
Darren
DarrenOPβ€’4w ago
Stack Overflow
CSS 62.5% why do developers use it?
I know we all probably used before 62.5% as font body size, we used this for old IE versions to do correct scaling on zoom. So, I understand why it is this value, and how it deals with "em". What ...
Baptiste
Baptisteβ€’4w ago
I would definitely recommend not doing that And they say default is 100%, right? Oh ok I can make sure typebot ignores the font-size from html That would make it immune from such config Will implement it ASAP and let you know
Darren
DarrenOPβ€’4w ago
Great thanks! Also, you wrote this awhile ago : "I've refined my vision of what a good chatbot builder should be and it will come with a major UI/UX bump. This will be great guys, can't wait to unveil this πŸ”₯" I'm just (very) curious to know if you have an estimation of when this will come out πŸ‘€ I'm also available if you need some beta-testing πŸ‘€ πŸ‘€
Baptiste
Baptisteβ€’4w ago
Should be fixed Honestly, I don't have any estimation, but you will know when I'll look for beta testers πŸ™‚

Did you find this page helpful?