fix ui for readonly documents

This commit is contained in:
Benjamin Gamard 2018-03-24 21:46:23 +01:00
parent e2548ef6b1
commit 7aa4a1bf82

View File

@ -55,7 +55,8 @@
</a>
<div class="file-info">
<div class="v-align caption caption-hover-inverse file-name" ng-click="openFile(file)" ng-if="file.name">{{ file.name }}</div>
<div class="v-align caption file-name" ng-class="{ 'caption-hover-inverse': document.writable }"
ng-click="openFile(file)" ng-if="file.name">{{ file.name }}</div>
<div class="caption caption-hover" ng-show="document.writable">
<div class="btn btn-default handle"><span class="fas fa-arrows-alt-h"></span></div>
</div>