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

View File

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

View File

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