chore: update css, js files

This commit is contained in:
retoor 2026-01-03 13:56:16 +01:00
parent 38f027a9fb
commit 20543245f8
5 changed files with 19 additions and 6 deletions

View File

@ -16,6 +16,14 @@
## Version 1.16.0 - 2026-01-03
update css, js files
**Changes:** 3 files, 15 lines
**Languages:** CSS (11 lines), JavaScript (4 lines)
## Version 1.15.0 - 2026-01-03 ## Version 1.15.0 - 2026-01-03
update css files update css files

View File

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "Snek" name = "Snek"
version = "1.15.0" version = "1.16.0"
readme = "README.md" readme = "README.md"
#license = { file = "LICENSE", content-type="text/markdown" } #license = { file = "LICENSE", content-type="text/markdown" }
description = "Snek Chat Application by Molodetz" description = "Snek Chat Application by Molodetz"

View File

@ -295,6 +295,7 @@ footer {
} }
.chat-input { .chat-input {
position: relative;
padding: 15px; padding: 15px;
display: flex; display: flex;
align-items: center; align-items: center;

View File

@ -398,8 +398,6 @@ textToLeetAdvanced(text) {
}); });
this.subscribe("file-uploading", (e) => { this.subscribe("file-uploading", (e) => {
this.fileUploadGrid.style.display = "block"; this.fileUploadGrid.style.display = "block";
this.toolbarMenu.style.display = "none";
this.textarea.style.display = "none";
}); });
this.toolbarMenu = document.createElement("toolbar-menu"); this.toolbarMenu = document.createElement("toolbar-menu");
@ -415,8 +413,6 @@ textToLeetAdvanced(text) {
}); });
this.subscribe("file-uploads-done", (data)=>{ this.subscribe("file-uploads-done", (data)=>{
this.textarea.style.display = "block";
this.toolbarMenu.style.display = "inline-block";
this.fileUploadGrid.style.display = "none"; this.fileUploadGrid.style.display = "none";
let msg =data.reduce((message, file) => { let msg =data.reduce((message, file) => {
return `${message}[${file.filename || file.name || file.remoteFile}](/channel/attachment/${file.remoteFile})`; return `${message}[${file.filename || file.name || file.remoteFile}](/channel/attachment/${file.remoteFile})`;

View File

@ -1,5 +1,13 @@
.fug-root { .fug-root {
background: none; position: absolute;
bottom: 100%;
left: 0;
right: 0;
background: #111;
border: 1px solid #333;
border-radius: 8px;
margin-bottom: 8px;
z-index: 100;
color: white; color: white;
font-family: sans-serif; font-family: sans-serif;
max-width: 100%; max-width: 100%;