Extra div for elements & styling changes.

This commit is contained in:
lindenkron 2023-04-07 19:30:59 +02:00
parent b5d37f3f6b
commit baf0c9812c
2 changed files with 8 additions and 4 deletions

6
lib.js
View File

@ -24147,6 +24147,7 @@ function updateDirectorsAudio(dataN, UUID) {
if (("micDelay" in data) && n==0) {
var label = document.createElement("label");
var i = "micDelay";
var div = document.createElement("div");
label.id = "label_" + i + "_"+UUID;
label.htmlFor = "constraints_" + i + "_"+UUID;
@ -24198,8 +24199,9 @@ function updateDirectorsAudio(dataN, UUID) {
}
};
audioEle.appendChild(label);
audioEle.appendChild(manualInput);
audioEle.appendChild(div)
div.appendChild(label);
div.appendChild(manualInput);
audioEle.appendChild(input);
}

View File

@ -625,13 +625,14 @@ body.darktheme .credits>a:visited {
border-radius: 0px 0px 4px 4px;
background-color: #ccc;
width: 100%;
gap: 4px;
}
.advancedAudioSettings div {
display: flex;
width: 100%;
overflow: hidden;
align-items: center;
gap: 4px;
padding: 4px;
}
.advancedAudioSettings div button {
padding: 4px;
@ -648,7 +649,8 @@ body.darktheme .credits>a:visited {
}
.advancedAudioSettings div:nth-child(1) {
display: unset;
flex-direction: column;
align-items: flex-start;
width: 100%;
padding: unset;
}