Autoset height of QR slots. Revert textarea padding

This commit is contained in:
Cohee
2023-11-14 12:48:55 +02:00
parent 50f3def2eb
commit b559187722
2 changed files with 2 additions and 2 deletions

View File

@ -294,7 +294,7 @@ function generateQuickReplyElements() {
quickReplyHtml += ` quickReplyHtml += `
<div class="flex-container alignitemsflexstart"> <div class="flex-container alignitemsflexstart">
<input class="text_pole wide30p" id="quickReply${i}Label" placeholder="(Button label)"> <input class="text_pole wide30p" id="quickReply${i}Label" placeholder="(Button label)">
<textarea id="quickReply${i}Mes" placeholder="(Custom message or /command)" class="text_pole widthUnset flex1" rows="2"></textarea> <textarea id="quickReply${i}Mes" placeholder="(Custom message or /command)" class="text_pole widthUnset flex1 autoSetHeight" rows="2"></textarea>
</div> </div>
`; `;
} }

View File

@ -981,7 +981,7 @@ select {
background-color: rgba(255, 0, 0, 0); background-color: rgba(255, 0, 0, 0);
border: 0; border: 0;
box-shadow: none; box-shadow: none;
padding: 3px; padding: 6px;
font-family: "Noto Sans", "Noto Color Emoji", sans-serif; font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
margin: 0; margin: 0;
text-shadow: 0px 0px calc(var(--shadowWidth) * 1px) var(--SmartThemeShadowColor); text-shadow: 0px 0px calc(var(--shadowWidth) * 1px) var(--SmartThemeShadowColor);