mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 19:53:19 +08:00
Merge pull request #3195 from urbanrotnik/ur-sci-5513-missing-icons
Fix CSS for missing icons [SCI-5513]
This commit is contained in:
commit
c20a1f9bb6
2 changed files with 8 additions and 6 deletions
|
@ -98,12 +98,14 @@ div.print-report {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image-icon.preview {
|
& > .report-element-header .export-all-icons {
|
||||||
display: none;
|
.image-icon.preview {
|
||||||
}
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.image-icon.report {
|
.image-icon.report {
|
||||||
display: initial !important;
|
display: initial !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="report-element report-step-attachment-element report-step-asset-element" data-ts="<%= timestamp.to_i %>" data-type="step_asset" data-id='{ "asset_id": <%= asset.id %> }' data-scroll-id="<%= asset.id %>" data-name="<%=t "projects.reports.elements.step_asset.sidebar_name", file: asset.file_name %>" data-icon-class="<%= icon_class %>">
|
<div class="report-element report-step-attachment-element report-step-asset-element" data-ts="<%= timestamp.to_i %>" data-type="step_asset" data-id='{ "asset_id": <%= asset.id %> }' data-scroll-id="<%= asset.id %>" data-name="<%=t "projects.reports.elements.step_asset.sidebar_name", file: asset.file_name %>" data-icon-class="<%= icon_class %>">
|
||||||
<div class="report-element-header">
|
<div class="report-element-header">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="pull-left attachment-icon">
|
<div class="pull-left attachment-icon <%= defined?(export_all) && export_all ? 'export-all-icons' : '' %>">
|
||||||
<%= file_extension_icon_html(asset, true) %>
|
<%= file_extension_icon_html(asset, true) %>
|
||||||
</div>
|
</div>
|
||||||
<div class="pull-left file-name">
|
<div class="pull-left file-name">
|
||||||
|
|
Loading…
Reference in a new issue