temp fixes

This commit is contained in:
Ryan
2025-03-04 14:30:35 -05:00
committed by GitHub
parent 25b70de1a3
commit f8080daaaf
3 changed files with 4 additions and 8 deletions

View File

@@ -60,7 +60,6 @@ header {
transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.header-buttons button:hover {
background-color: rgba(255, 255, 255, 0.2);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
@@ -139,7 +138,7 @@ header {
#uploadProgressContainer .file-preview {
width: 32px !important;
height: 32px !important;
margin-right: 10px;
margin-right: 1px;
flex-shrink: 0;
}
#uploadProgressContainer .file-preview img {
@@ -252,9 +251,6 @@ header {
background-color: #fb8c00;
}
/* Material green style for Edit button in file list */
#fileList button.edit-btn {
background-color: #4CAF50;
@@ -329,7 +325,6 @@ label {
display: none;
}
/* Remove bottom margin from the form group */
.card-body .form-group {
margin-bottom: 5px !important;

View File

@@ -50,7 +50,7 @@ document.addEventListener("DOMContentLoaded", function () {
const fileNameDiv = document.createElement("div");
fileNameDiv.textContent = file.name;
fileNameDiv.style.flexGrow = "1";
fileNameDiv.style.marginLeft = "10px";
fileNameDiv.style.marginLeft = "5px";
fileNameDiv.style.wordBreak = "break-word";
const progressDiv = document.createElement("div");

View File

@@ -93,6 +93,7 @@ export function displayFilePreview(file, container) {
const icon = document.createElement("i");
icon.className = "material-icons";
icon.style.fontSize = "32px";
icon.style.color = "#555";
icon.textContent = "insert_drive_file";
container.appendChild(icon);
}
@@ -780,7 +781,7 @@ document.addEventListener("DOMContentLoaded", function () {
const fileNameDiv = document.createElement("div");
fileNameDiv.textContent = file.name;
fileNameDiv.style.flexGrow = "1";
fileNameDiv.style.marginLeft = "10px";
fileNameDiv.style.marginLeft = "5px";
fileNameDiv.style.wordBreak = "break-word";
const progressDiv = document.createElement("div");
progressDiv.classList.add("progress");