ui: Fix file disclaimer not showing

This commit is contained in:
nemunaire 2025-01-14 17:38:03 +01:00
parent f15cd29f78
commit a4001759f6

View File

@ -33,9 +33,9 @@
</h1> </h1>
<div style="min-width: 0"> <div style="min-width: 0">
<h4 class="fw-bold"><samp>{file.name}</samp></h4> <h4 class="fw-bold"><samp>{file.name}</samp></h4>
{#if file.disclamer} {#if file.disclaimer}
<div class="file-disclamer text-warning"> <div class="file-disclaimer text-warning">
{file.disclamer} {file.disclaimer}
</div> </div>
{/if} {/if}
<nobr> <nobr>
@ -61,10 +61,10 @@
{/if} {/if}
<style> <style>
.file-disclamer { .file-disclaimer {
display: none; display: none;
} }
:global(.list-group-item:hover .file-disclamer) { :global(.list-group-item:hover .file-disclaimer) {
display: block; display: block;
} }
</style> </style>