Skip to content

Commit

Permalink
chore: Fix resize icon of Code Editor for RTL (#2532)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldowseza committed Jul 31, 2024
1 parent ff93441 commit dbcc7a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/code-editor/resizable-box/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
@use '../../internal/styles' as styles;
@use '../../internal/styles/tokens' as awsui;
@use '../background-inline-svg.scss' as utils;

Expand Down Expand Up @@ -29,6 +30,10 @@
$stroke: 'colorStrokeCodeEditorResizeHandler'
);

@include styles.with-direction('rtl') {
transform: scaleX(-1);
}

cursor: ns-resize;
}

Expand Down

0 comments on commit dbcc7a1

Please sign in to comment.