Correctly applying the right scroll bars and allow the permission editor to shrink in it's height.
parent
7b1852e647
commit
db174831b4
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue