fix: iconUrl field was broken on older browsers (#2575)
Some checks failed
Test & Docs / tests (postgresql, 3.10) (push) Has been cancelled
Test & Docs / tests (postgresql, 3.12) (push) Has been cancelled
Test & Docs / lint (push) Has been cancelled

fix #2554
This commit is contained in:
Yohan Boniface 2025-03-14 15:07:14 +01:00 committed by GitHub
commit dd5add96b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View file

@ -487,15 +487,12 @@ i.info {
padding: 0 5px;
}
.flat-tabs {
display: none;
display: flex;
justify-content: space-around;
font-size: 1.2em;
margin-bottom: 20px;
border-bottom: 1px solid #bebebe;
}
.flat-tabs:has(.flat) {
display: flex;
}
.flat-tabs button {
padding: 10px;
text-decoration: none;

View file

@ -805,7 +805,7 @@ Fields.IconUrl = class extends Fields.BlurInput {
categories[category] = categories[category] || []
categories[category].push(props)
}
const sorted = Object.entries(categories).toSorted(([a], [b]) =>
const sorted = Object.entries(categories).sort(([a], [b]) =>
Utils.naturalSort(a, b, U.lang)
)
for (const [name, items] of sorted) {