Merge pull request #24855 from overleaf/rh-pug-contact-ui

Pug BS5 contact form UI updates

GitOrigin-RevId: 2a2428c89f799913ad5c0f7a607d59735334aeda
This commit is contained in:
roo hutton
2025-05-19 15:12:34 +01:00
committed by Copybot
parent f1ffa79557
commit 2d7de079d5
3 changed files with 5 additions and 3 deletions

View File

@@ -46,7 +46,8 @@ export function setupSearch(formEl) {
linkEl.append(contentEl)
const iconEl = document.createElement('i')
iconEl.className = 'fa fa-angle-right'
iconEl.className = 'material-symbols dropdown-item-trailing-icon'
iconEl.innerText = 'open_in_new'
iconEl.setAttribute('aria-hidden', 'true')
linkEl.append(iconEl)

View File

@@ -375,7 +375,7 @@ function formSentHelper(el) {
}
function formValidationHelper(el) {
el.querySelectorAll('input').forEach(inputEl => {
el.querySelectorAll('input, textarea').forEach(inputEl => {
if (
inputEl.willValidate &&
!inputEl.hasAttribute('data-ol-no-custom-form-validation-messages')

View File

@@ -59,7 +59,8 @@
}
}
.fa {
.fa,
.material-symbols {
display: table-cell;
text-align: right;
color: @gray-lighter;