Fix copy button float in APIv4 Explorer
authorColeman Watts <coleman@civicrm.org>
Sat, 19 Mar 2022 00:30:01 +0000 (20:30 -0400)
committerColeman Watts <coleman@civicrm.org>
Sat, 19 Mar 2022 00:30:01 +0000 (20:30 -0400)
ang/api4Explorer/Explorer.html

index 0e720442bc0a69cfd99d0419282453dd65a7b093..d78bd814516392710392e8fa1fdaa8593b4272df 100644 (file)
           </p>
         </div>
         <div ng-repeat="style in code[selectedTab.code]">
-          <button class="btn btn-xs btn-default pull-right" ng-click="$ctrl.copyCode('api4-code-' + selectedTab.code + '-' + style.name)">
-            <i class="crm-i fa-clipboard"></i>
-            {{:: ts('Copy') }}
-          </button>
-          <label>{{:: style.label }}</label>
+          <div class="clearfix">
+            <button class="btn btn-xs btn-default pull-right" ng-click="$ctrl.copyCode('api4-code-' + selectedTab.code + '-' + style.name)">
+              <i class="crm-i fa-clipboard"></i>
+              {{:: ts('Copy') }}
+            </button>
+            <label>{{:: style.label }}</label>
+          </div>
           <div>
             <pre class="prettyprint" id="api4-code-{{ selectedTab.code + '-' + style.name }}" ng-bind-html="style.code"></pre>
           </div>