fix styling of preview button on create page when there are multiple preview modes

This commit is contained in:
Matt Westcott 2014-06-12 16:52:52 +01:00
parent 7a290ead90
commit 8368837e2c

View file

@ -40,7 +40,7 @@
<li class="actions preview">
{% trans 'Preview' as preview_label %}
{% if display_modes|length > 1 %}
<div class="dropdown dropup button match-width">
<div class="dropdown dropup dropdown-button match-width">
{% include "wagtailadmin/pages/_preview_button_on_create.html" with label=preview_label icon=1 %}
<div class="dropdown-toggle icon icon-arrow-up"></div>
<ul role="menu">