Skip to content

Commit dec7230

Browse files
committed
Fix page changing from RTL when viewing some profiles
1 parent 6157bec commit dec7230

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.changeset/fuzzy-frogs-develop.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"nostrudel": patch
3+
---
4+
5+
Fix page changing from RTL when viewing some profiles

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html lang="en" dir="auto">
2+
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

src/components/note/timeline-note/text-note-contents.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const TextNoteContents = React.memo(
6868
<MediaOwnerProvider owner={(event as NostrEvent).pubkey as string | undefined}>
6969
<LightboxProvider>
7070
<Suspense fallback={<Spinner />}>
71-
<Box whiteSpace="pre-wrap" {...props}>
71+
<Box whiteSpace="pre-wrap" dir="auto" {...props}>
7272
{content}
7373
</Box>
7474
</Suspense>

0 commit comments

Comments
 (0)