在表格内部安装两个按钮

时间:2016-02-05 01:06:23

标签: jquery css

我有两个按钮,如右图所示。 enter image description here

"添加全球付款人合同"和向下箭头。我希望向下箭头位于添加全球付款人合同的右侧,但我似乎无法在那里得到它。

以下是代码:

.bar
    %h1.pull-left= t('payer_contracts.payer_contracts')
    .btn-group.pull-right.dropdown-end
      = button_to t('payer_contracts.new_global_payer_contract'), new_payer_contract_path, class: 'btn pull-left', method: :get, params: { contract_type: 'global_contract_sub_type' }
      %button.btn.icon-decrement{"aria-expanded" => "false", "aria-haspopup" => "true", "data-toggle" => "dropdown", :type => "button"}
      %ul{"aria-hidden" => "true", :role => "menu"}
        %li
          = link_to t('payer_contracts.new_bpci_payer_contract'), new_payer_contract_path, params: {contract_type: 'bpci_contract_sub_type'}

出于某种原因,向下箭头低于它而不是右侧。

当我检查它时,我看到了:

enter image description here

我认为.pull-right会使一切都向右。有什么想法吗?

0 个答案:

没有答案