Compare commits

...

2 commits

Author SHA1 Message Date
Yohan Boniface
dd5add96b4
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
2025-03-14 15:07:14 +01:00
Yohan Boniface
f26536bff3 fix: iconUrl field was broken on older browsers
fix #2554
2025-03-14 14:50:47 +01:00
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) {