Can someone help me understand this strange behavior I am experiencing across all browsers?
<div style="margin-top:5px">
<button translate="clear" ng-click="xyz.clear()" class="btn btn-default"></button>
<button ng-repeat="operation in xyz.operations" class="btn btn-default">{{operation.name}}</button>
</div>
https://i.stack.imgur.com/vVnbB.png
I have a button and another button with an ng-repeat inside a div. The spacing between the first 'static' button and the first button from ng-repeat is unexpected. This spacing persists consistently across all tested browsers, leading me to believe that it may be related to Angular's ng-repeat.
Inspecting the elements in Chrome Dev-Tools shows:
https://i.stack.imgur.com/aAVTq.png
No CSS selectors seem to affect the spacing between the buttons. Even when rearranging them in the DOM using Dev-Tools, the odd behavior remains:
https://i.stack.imgur.com/JOo9L.png
The computed box for the element is identical for all buttons as shown here: https://i.stack.imgur.com/Q0ijh.png