remove vertical rtl for cards

This commit is contained in:
Bruce Liu 2022-06-08 11:18:26 -07:00
parent 34971eac80
commit 6fac29b4db
1 changed files with 1 additions and 4 deletions

View File

@ -7,7 +7,7 @@ type HighlightsProps = {
text: string
filter: FeedFilter
title?: boolean
dir: SourceTextDirection
dir?: SourceTextDirection
}
const Highlights: React.FunctionComponent<HighlightsProps> = props => {
@ -61,12 +61,9 @@ const Highlights: React.FunctionComponent<HighlightsProps> = 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 (
<>