Skip to content

Commit

Permalink
Fix page changing from RTL when viewing some profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
hzrd149 committed Nov 11, 2024
1 parent 6157bec commit dec7230
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/fuzzy-frogs-develop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"nostrudel": patch
---

Fix page changing from RTL when viewing some profiles
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html lang="en" dir="auto">
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/note/timeline-note/text-note-contents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const TextNoteContents = React.memo(
<MediaOwnerProvider owner={(event as NostrEvent).pubkey as string | undefined}>
<LightboxProvider>
<Suspense fallback={<Spinner />}>
<Box whiteSpace="pre-wrap" {...props}>
<Box whiteSpace="pre-wrap" dir="auto" {...props}>
{content}
</Box>
</Suspense>
Expand Down

0 comments on commit dec7230

Please sign in to comment.