Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTL Chosen Select causes the page to disappear #16552

Merged
merged 3 commits into from
Mar 18, 2022
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions media/jui/css/chosen.css
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,8 @@ This file is generated by `grunt build`, do not edit it by hand.
right: auto;
left: 4px;
}
.chzn-rtl.chzn-container-single-nosearch .chzn-search,
/* https://github.com/joomla/joomla-cms/pull/7106
.chzn-rtl.chzn-container-single-nosearch .chzn-search, */
zero-24 marked this conversation as resolved.
Show resolved Hide resolved
.chzn-rtl .chzn-drop {
left: 9999px;
}
Expand All @@ -429,5 +430,13 @@ This file is generated by `grunt build`, do not edit it by hand.
.chzn-rtl.chzn-container-single.chzn-with-drop .chzn-single div b {
background-position: -12px 2px;
}

/* https://github.com/joomla/joomla-cms/pull/7106 */
zero-24 marked this conversation as resolved.
Show resolved Hide resolved
laoneo marked this conversation as resolved.
Show resolved Hide resolved
[dir="rtl"] .chzn-container .chzn-drop,
[dir="rtl"] .chzn-container-single.chzn-container-single-nosearch .chzn-search {
left: auto;
right: -9999px;
}
[dir="rtl"] .chzn-container.chzn-with-drop .chzn-drop {
right: 0;
}
/* @end */