Prettied up channel.css, small schema updates
This commit is contained in:
parent
247caa5c23
commit
3d184f29da
|
|
@ -35,11 +35,13 @@ const channelSchema = new mongoose.Schema({
|
||||||
name: {
|
name: {
|
||||||
type: mongoose.SchemaTypes.String,
|
type: mongoose.SchemaTypes.String,
|
||||||
required: true,
|
required: true,
|
||||||
|
maxLength: 50,
|
||||||
default: 0
|
default: 0
|
||||||
},
|
},
|
||||||
description: {
|
description: {
|
||||||
type: mongoose.SchemaTypes.String,
|
type: mongoose.SchemaTypes.String,
|
||||||
required: true,
|
required: true,
|
||||||
|
maxLength: 1000,
|
||||||
default: 0
|
default: 0
|
||||||
},
|
},
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ const userSchema = new mongoose.Schema({
|
||||||
},
|
},
|
||||||
user: {
|
user: {
|
||||||
type: mongoose.SchemaTypes.String,
|
type: mongoose.SchemaTypes.String,
|
||||||
|
maxLength: 22,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
pass: {
|
pass: {
|
||||||
|
|
@ -65,16 +66,19 @@ const userSchema = new mongoose.Schema({
|
||||||
bio: {
|
bio: {
|
||||||
type: mongoose.SchemaTypes.String,
|
type: mongoose.SchemaTypes.String,
|
||||||
required: true,
|
required: true,
|
||||||
|
maxLength: 1000,
|
||||||
default: "Bio not set!"
|
default: "Bio not set!"
|
||||||
},
|
},
|
||||||
pronouns:{
|
pronouns:{
|
||||||
type: mongoose.SchemaTypes.String,
|
type: mongoose.SchemaTypes.String,
|
||||||
optional: true,
|
optional: true,
|
||||||
|
maxLength: 20,
|
||||||
default: ""
|
default: ""
|
||||||
},
|
},
|
||||||
signature: {
|
signature: {
|
||||||
type: mongoose.SchemaTypes.String,
|
type: mongoose.SchemaTypes.String,
|
||||||
required: true,
|
required: true,
|
||||||
|
maxLength: 150,
|
||||||
default: "Signature not set!"
|
default: "Signature not set!"
|
||||||
},
|
},
|
||||||
highLevel: {
|
highLevel: {
|
||||||
|
|
|
||||||
|
|
@ -212,8 +212,7 @@ span.user-entry{
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-entry{
|
.user-entry{
|
||||||
margin: 0;
|
margin: 0 1em 0 0.1em;
|
||||||
margin-left: 0.1em;
|
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue