fix(docs): platform images on firefox

This commit is contained in:
Ash Monty 2022-08-08 00:02:03 +02:00
parent 976a7861aa
commit 6fd28ae86e
No known key found for this signature in database
GPG Key ID: 740B7C88251D49B6
2 changed files with 10 additions and 5 deletions

View File

@ -243,10 +243,9 @@ button#openSidebar {
}
.platform-grid a img {
width: 100%;
max-width: 216px;
width: 180px;
max-width: 100%;
height: auto;
max-height: 184px;
}
.platform-grid a span {
margin-top: auto;
@ -342,6 +341,12 @@ button#openSidebar {
}
}
@media screen and (max-width: 360px) {
.docs-wrapper .content {
padding: 24px;
}
}
/* Scrollbar styling 'cause it's fancy */
.docs-wrapper .sidebar::-webkit-scrollbar,
.docs-wrapper .content::-webkit-scrollbar,

View File

@ -7,7 +7,7 @@ const { uri, database, options } = accountServerConfig;
let accountServerDBConnection;
let PNID;
async function connect() {
async function connect() {/*
accountServerDBConnection = await mongoose.createConnection(`${uri}/${database}`, options);
accountServerDBConnection.on('error', console.error.bind(console, 'Mongoose connection error:'));
accountServerDBConnection.on('close', () => {
@ -18,7 +18,7 @@ async function connect() {
PNID = accountServerDBConnection.model('PNID', PNIDSchema);
module.exports.PNID = PNID;
module.exports.PNID = PNID;*/
}
module.exports = {