Skip to content

Commit c8f395d

Browse files
zvizvinavneetrai
authored andcommitted
RTL adjustments
1 parent a98ca42 commit c8f395d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

resources/css/commentions.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
.tiptap p.is-editor-empty::before {
1818
color: #adb5bd;
1919
content: attr(data-placeholder);
20-
float: left;
20+
float: inline-start;
2121
height: 0;
2222
pointer-events: none;
2323
}

resources/dist/commentions.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/suggestion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const renderSuggestionsComponent = (items) => {
109109
showOnCreate: true,
110110
interactive: true,
111111
trigger: 'manual',
112-
placement: 'bottom-start',
112+
placement: document.dir === 'rtl' ? 'bottom-end' : 'bottom-start',
113113
theme: 'light',
114114
arrow: true,
115115
});

0 commit comments

Comments
 (0)