Skip to content

Commit

Permalink
RTL changes for dropdown to properly space carat
Browse files Browse the repository at this point in the history
  • Loading branch information
josh sylvester committed Feb 11, 2019
1 parent aecc4a2 commit 37f3de3
Show file tree
Hide file tree
Showing 7 changed files with 382 additions and 373 deletions.
3 changes: 3 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# v4.9.1
- Fixed Dropdown icon spacing issue when the rendering direction is "rtl" Right-To-Left.

# v4.9.0

- Added `--px-icon-flex-grow` CSS variable for optionally allowing the dropdown to fill its container
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "px-dropdown",
"version": "4.9.0",
"version": "4.9.1",
"main": [
"px-dropdown.html"
],
Expand Down
2 changes: 1 addition & 1 deletion css/px-dropdown-styles.html

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions demo/simple_demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

</head>

<body>
<body dir="rtl">
<custom-style>
<style include="px-theme-styles" is="custom-style"></style>
</custom-style>
Expand All @@ -37,12 +37,15 @@
body {
height: 200vh;
}
.rtl {
direction: rtl;
}
</style>
<px-overlay-container container-type="foo"></px-overlay-container>
<px-overlay-container container-type="bar"></px-overlay-container>
<px-overlay-container container-type="baz"></px-overlay-container>

<div style="width:250px">
<div style="width:250px" class="rtl">
<p>Single Select</p>
<px-dropdown
id="foo"
Expand Down Expand Up @@ -99,7 +102,7 @@
</px-dropdown>
</br>
<p>Single Select Read Only</p>
<px-dropdown
<px-dropdown
id="readOnly"
display-value="Read Only Items"
container-type="readOnly"
Expand Down
Loading

0 comments on commit 37f3de3

Please sign in to comment.