fix overflowing file names in file uploads.

This commit is contained in:
DESKTOP-GENO133\IvanPlex
2024-01-18 09:00:14 -07:00
parent 9e0b45deac
commit a02bcf94d7
2 changed files with 9 additions and 1 deletions

View File

@@ -5,7 +5,7 @@
{
<li class="list-group-item">
<div class="d-flex justify-content-between">
<a type="button" class="btn btn-link" href="@filesUploaded.Location" target="_blank">@filesUploaded.Name</a>
<a type="button" class="btn btn-link text-truncate uploadedFileName" href="@filesUploaded.Location" target="_blank">@filesUploaded.Name</a>
<div class="d-flex align-items-center">
<button type="button" class="btn btn-sm btn-outline-secondary me-2" onclick="editFileName('@filesUploaded.Location', this)"><i class="bi bi-pencil"></i></button>
<button type="button" class="btn btn-sm btn-outline-danger" onclick="deleteFileFromUploadedFiles('@filesUploaded.Location', this)"><i class="bi bi-trash"></i></button>

View File

@@ -234,4 +234,12 @@ html {
.dropdown-menu.show{
z-index: 1030;
}
input[type="file"] {
max-width:100%;
}
.uploadedFileName {
max-width:75%;
}