mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
# Pull Request Template ## Description This PR adds RTL support in public help center. Fixes https://linear.app/chatwoot/issue/CW-4459/support-for-rtl-in-public-help-center ## Type of change - [x] New feature (non-breaking change which adds functionality) ## How Has This Been Tested? ### Loom video https://www.loom.com/share/d48a26ec80e04545addca825882b4d79?sid=aa7a6b37-33bc-4f63-b1cc-54b27a7733cf ## Checklist: - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my code - [ ] I have commented on my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules
52 lines
909 B
SCSS
52 lines
909 B
SCSS
// scss-lint:disable SpaceAfterPropertyColon
|
|
@import 'tailwindcss/base';
|
|
@import 'tailwindcss/components';
|
|
@import 'tailwindcss/utilities';
|
|
|
|
@import 'widget/assets/scss/reset';
|
|
@import 'shared/assets/fonts/InterDisplay/inter-display';
|
|
|
|
html,
|
|
body {
|
|
font-family:
|
|
'InterDisplay',
|
|
-apple-system,
|
|
system-ui,
|
|
BlinkMacSystemFont,
|
|
'Segoe UI',
|
|
Roboto,
|
|
'Helvetica Neue',
|
|
Tahoma,
|
|
Arial,
|
|
sans-serif,
|
|
'Noto Sans',
|
|
'Apple Color Emoji',
|
|
'Segoe UI Emoji',
|
|
'Noto Color Emoji';
|
|
-moz-osx-font-smoothing: grayscale;
|
|
-webkit-font-smoothing: antialiased;
|
|
height: 100%;
|
|
letter-spacing: 0.2px;
|
|
}
|
|
|
|
// Taking these utils from tailwind 3.x.x, need to remove once we upgrade
|
|
.scroll-mt-24 {
|
|
scroll-margin-top: 6rem;
|
|
}
|
|
|
|
.top-24 {
|
|
top: 6rem;
|
|
}
|
|
|
|
.heading {
|
|
.permalink {
|
|
visibility: hidden;
|
|
}
|
|
|
|
&:hover {
|
|
.permalink {
|
|
visibility: visible;
|
|
}
|
|
}
|
|
}
|