Prettied up channel.css, small schema updates

This commit is contained in:
rainbow napkin 2024-12-06 05:16:47 -05:00
parent 247caa5c23
commit 3d184f29da
3 changed files with 7 additions and 2 deletions

View file

@ -35,11 +35,13 @@ const channelSchema = new mongoose.Schema({
name: {
type: mongoose.SchemaTypes.String,
required: true,
maxLength: 50,
default: 0
},
description: {
type: mongoose.SchemaTypes.String,
required: true,
maxLength: 1000,
default: 0
},
thumbnail: {

View file

@ -32,6 +32,7 @@ const userSchema = new mongoose.Schema({
},
user: {
type: mongoose.SchemaTypes.String,
maxLength: 22,
required: true,
},
pass: {
@ -65,16 +66,19 @@ const userSchema = new mongoose.Schema({
bio: {
type: mongoose.SchemaTypes.String,
required: true,
maxLength: 1000,
default: "Bio not set!"
},
pronouns:{
type: mongoose.SchemaTypes.String,
optional: true,
maxLength: 20,
default: ""
},
signature: {
type: mongoose.SchemaTypes.String,
required: true,
maxLength: 150,
default: "Signature not set!"
},
highLevel: {

View file

@ -212,8 +212,7 @@ span.user-entry{
}
.user-entry{
margin: 0;
margin-left: 0.1em;
margin: 0 1em 0 0.1em;
font-size: 1em;
width: fit-content;
}