CSS tweaks and show warnings for scan thumbnails if preview is unavailable

This commit is contained in:
Julian Stirling 2026-07-07 14:06:01 +01:00
parent ba11f65219
commit 1f7a8a1a4e
2 changed files with 19 additions and 16 deletions

View file

@ -380,15 +380,12 @@
.ofm-top-nav-square-button {
margin-top: 4px;
height: 38px;
width: 38px;
aspect-ratio: 1;
}
.ofm-top-nav-square-button.material-icon {
// MAterial icons are 24x24 , set padding to centre
// Material icons are 24x24 , set padding to centre
padding: 6px !important;
margin-top: 4px;
height: 38px;
width: 38px;
}
// A button styled like text. For use in menus

View file

@ -67,6 +67,9 @@
<li>Created: {{ formatDate(itemData.created) }}</li>
<li>Duration: {{ formatDuration(itemData.duration) }}</li>
</ul>
</div>
</template>
<div :class="{ 'thumbnail-only-warning': thumbnailOnly }">
<ul>
<li v-if="itemData.number_of_images < 2" class="warning-msg">
Not enough images to stitch
@ -79,7 +82,6 @@
</li>
</ul>
</div>
</template>
</div>
</div>
</template>
@ -231,6 +233,10 @@ ul {
width: 150px;
}
.thumbnail-only-warning {
width: 150px;
}
.thumbnail-fit {
max-height: 120px;
max-width: 240px;