Skip to content

Commit

Permalink
docs(theme): 📝 Add RTL guide
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Mar 10, 2022
1 parent 9123977 commit 533fdb1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions apps/docs/docs/guides/rtl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Enable RTL

- Head over to the "Theme" tab
- Paste the following Custom CSS:

```css
body {
direction: rtl;
}

.typebot-avatar-container {
margin-right: 0;
margin-left: 0.5rem;
}

.typebot-guest-bubble {
margin-right: 0;
margin-left: 0.5rem;
}

.bubble1,
.bubble2 {
margin-right: 0;
margin-left: 0.25rem;
}
```

If there is any visual flaw, [contact me](mailto:support@typebot.freshdesk.com) so that I can adjust the CSS rules
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const AvatarSideContainer = forwardRef(

return (
<div
className="flex w-6 xs:w-10 mr-2 mb-2 flex-shrink-0 items-center relative "
className="flex w-6 xs:w-10 mr-2 mb-2 flex-shrink-0 items-center relative typebot-avatar-container "
ref={scrollingSideBlockRef}
>
<CSSTransition
Expand Down

3 comments on commit 533fdb1

@vercel
Copy link

@vercel vercel bot commented on 533fdb1 Mar 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./apps/docs

docs-git-main-typebot-io.vercel.app
docs-typebot-io.vercel.app
docs.typebot.io

@vercel
Copy link

@vercel vercel bot commented on 533fdb1 Mar 10, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-v2 – ./apps/builder

app.typebot.io
builder-v2-git-main-typebot-io.vercel.app
builder-v2-typebot-io.vercel.app

Please sign in to comment.