small styling fixes

This commit is contained in:
2026-04-05 02:12:11 -04:00
parent 3c70838582
commit 4afd508984
4 changed files with 20 additions and 2 deletions
+2 -1
View File
@@ -32,7 +32,8 @@ export default defineConfig([
"README.md",
".github/",
".cursor/",
"spacetimedb/",
"spacetimedb/node_modules",
"spacetimedb/dist",
"src/module_bindings/",
"src-tauri/**",
],
+8
View File
@@ -0,0 +1,8 @@
window.__ENV__ = {
// This file is generated at runtime by docker-entrypoint.sh
// Default values for local development
VITE_SPACETIMEDB_HOST: "",
VITE_SPACETIMEDB_DB_NAME: "",
VITE_AUTH_ISSUER: "",
VITE_AUTH_CLIENT_ID: "",
};
+1 -1
View File
@@ -441,7 +441,7 @@ function validateMessageLength(ctx: any, text: string) {
const maxLengthConf = ctx.db.system_configuration.key.find("max_message_length");
const maxLength = maxLengthConf ? parseInt(maxLengthConf.value) : 262144;
// Approximate byte length check
const byteLength = new TextEncoder().encode(text).length;
if (byteLength > maxLength) {
@@ -261,6 +261,8 @@
background-color: var(--background-primary);
border-radius: 4px;
padding-right: 8px;
width: 100%;
box-sizing: border-box;
}
.form-group input[type="text"], .form-group textarea {
@@ -272,6 +274,13 @@
outline: none;
border-radius: 4px;
font-family: inherit;
width: 100%;
box-sizing: border-box;
}
.input-wrapper input[type="text"] {
flex: 1;
background-color: transparent;
}
.form-group textarea {