Skip to content

Commit 1562994

Browse files
authoredOct 1, 2022
fix: prevent rtl pages from breaking map display (#167)
1 parent 2ab1046 commit 1562994

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/map/Map.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@ export class Map extends Component<MapProps, MapReactState> {
14001400
const hasSize = !!(width && height)
14011401

14021402
return (
1403-
<div style={containerStyle} ref={this.setRef}>
1403+
<div style={containerStyle} ref={this.setRef} dir="ltr">
14041404
{hasSize && this.renderTiles()}
14051405
{hasSize && this.renderOverlays()}
14061406
{hasSize && this.renderAttribution()}

0 commit comments

Comments
 (0)
Please sign in to comment.