mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 10:10:08 +02:00
Merge pull request #24855 from overleaf/rh-pug-contact-ui
Pug BS5 contact form UI updates GitOrigin-RevId: 2a2428c89f799913ad5c0f7a607d59735334aeda
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -59,7 +59,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
.fa {
|
||||
.fa,
|
||||
.material-symbols {
|
||||
display: table-cell;
|
||||
text-align: right;
|
||||
color: @gray-lighter;
|
||||
|
||||
Reference in New Issue
Block a user