pull-right on hide button to save vertical space

This commit is contained in:
Tor Hveem 2013-10-16 00:07:33 +02:00
parent 3a1fb161a7
commit 38db2afe0a

View file

@ -166,13 +166,12 @@
<div ng-repeat="metadata in bufferline.metadata">
<div ng-show="metadata.visible">
<button class="btn btn-primary pull-right" ng-click="metadata.visible = false">Hide {{ metadata.name }}</button>
<div ng-bind-html="metadata.content"></div>
<button class="btn btn-primary" ng-click="metadata.visible = false">Hide {{ metadata.name }}</button>
</div>
<div ng-hide="metadata.visible">
<button class="btn" ng-class="{'btn-warning': metadata.nsfw, 'btn-primary': !metadata.nsfw}" ng-click="metadata.visible = true">Show {{ metadata.name }}</button>
<button class="btn pull-right" ng-class="{'btn-warning': metadata.nsfw, 'btn-primary': !metadata.nsfw}" ng-click="metadata.visible = true">Show {{ metadata.name }}</button>
</div>
</div>
</td>