Correctly applying the right scroll bars and allow the permission editor to shrink in it's height.

master
WolverinDEV 2021-01-16 13:41:45 +01:00
parent 7b1852e647
commit db174831b4
3 changed files with 6 additions and 2 deletions

View File

@ -74,6 +74,7 @@ class ClientServiceConnection {
let address; let address;
address = "client-services.teaspeak.de:27791"; address = "client-services.teaspeak.de:27791";
//address = "localhost:1244"; //address = "localhost:1244";
//address = "192.168.40.135:1244";
this.connection = new WebSocket(`wss://${address}/ws-api/v${kApiVersion}`); this.connection = new WebSocket(`wss://${address}/ws-api/v${kApiVersion}`);
this.connection.onclose = event => { this.connection.onclose = event => {
@ -375,7 +376,7 @@ export class ClientServices {
} else { } else {
const os = window.detectedBrowser.os; const os = window.detectedBrowser.os;
const osParts = os.split(" "); const osParts = os.split(" ");
if(osParts.last().match(/^[0-9]+$/)) { if(osParts.last().match(/^[0-9\.]+$/)) {
payload.platform_version = osParts.last(); payload.platform_version = osParts.last();
osParts.splice(osParts.length - 1, 1); osParts.splice(osParts.length - 1, 1);
} }

View File

@ -54,10 +54,11 @@ html:root {
min-width: 20em; min-width: 20em;
max-width: 100%; max-width: 100%;
min-height: 20em;
flex-shrink: 1; flex-shrink: 1;
flex-grow: 1; flex-grow: 1;
.contextContainer { .contextContainer {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@ -211,6 +211,8 @@ html:root {
/* explicitly set the background color so the next element could use background-color: inherited; */ /* explicitly set the background color so the next element could use background-color: inherited; */
background: var(--modal-content-background); background: var(--modal-content-background);
@include chat-scrollbar();
} }
} }