MDL-74324 contentbank: fix RTL dropdown menu

This commit is contained in:
Ferran Recio 2022-03-30 12:40:00 +02:00
parent 7ce003b666
commit 4d5395d27b

View File

@ -48,8 +48,8 @@ along with Moodle. If not, see <http://www.gnu.org/licenses/>.
<button aria-label="{{#str}}actionsmenu{{/str}}" class="btn btn-secondary dropdown-toggle" id="dropdown-actions" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{{#str}}more, core_contentbank{{/str}}
</button>
<div class="dropdown-menu" aria-labelledby="dropdown-actions">
{{! dropdown-menu-right style to fix RTL placement }}
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdown-actions">
{{#options}}
<a class="dropdown-item" {{#attributes}}{{name}}="{{value}}"{{/attributes}} href="{{url}}">{{label}}</a>
{{/options}}