Avoid inline-styles.

This commit is contained in:
Paulo Reis 2016-06-28 15:51:50 +01:00
parent 88564ea126
commit a6d184358f
2 changed files with 10 additions and 2 deletions

View file

@ -141,7 +141,7 @@ div.full-size.pdf(ng-controller="PdfController")
p.entry-content(ng-show="entry.content") {{ entry.content.trim() }} p.entry-content(ng-show="entry.content") {{ entry.content.trim() }}
p p
.pull-right .files-dropdown-container
a.btn.btn-default.btn-sm( a.btn.btn-default.btn-sm(
href, href,
tooltip="#{translate('clear_cached_files')}", tooltip="#{translate('clear_cached_files')}",
@ -152,7 +152,6 @@ div.full-size.pdf(ng-controller="PdfController")
i.fa.fa-trash-o i.fa.fa-trash-o
|   |  
div.files-dropdown( div.files-dropdown(
style="display: inline-block;",
ng-class="shouldDropUp ? 'dropup' : 'dropdown'" ng-class="shouldDropUp ? 'dropup' : 'dropdown'"
dropdown dropdown
) )

View file

@ -284,3 +284,12 @@
margin-top: 20px; margin-top: 20px;
} }
} }
.files-dropdown-container {
.pull-right();
position: relative;
}
.files-dropdown {
display: inline-block;
}