From 6fac29b4db42dbe63a900cce218d36713a85c011 Mon Sep 17 00:00:00 2001 From: Bruce Liu Date: Wed, 8 Jun 2022 11:18:26 -0700 Subject: [PATCH] remove vertical rtl for cards --- src/components/cards/highlights.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/cards/highlights.tsx b/src/components/cards/highlights.tsx index 6be11f3..772a86e 100644 --- a/src/components/cards/highlights.tsx +++ b/src/components/cards/highlights.tsx @@ -7,7 +7,7 @@ type HighlightsProps = { text: string filter: FeedFilter title?: boolean - dir: SourceTextDirection + dir?: SourceTextDirection } const Highlights: React.FunctionComponent = props => { @@ -61,12 +61,9 @@ const Highlights: React.FunctionComponent = props => { const testStyle = { direction: "inherit", - writingMode: "inherit", } as React.CSSProperties if (props.dir === SourceTextDirection.RTL) { testStyle.direction = "rtl" - } else if (props.dir === SourceTextDirection.Vertical) { - testStyle.writingMode = "vertical-rl" } return ( <>