mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
commit
dd5add96b4
2 changed files with 2 additions and 5 deletions
|
@ -487,15 +487,12 @@ i.info {
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
}
|
}
|
||||||
.flat-tabs {
|
.flat-tabs {
|
||||||
display: none;
|
display: flex;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
border-bottom: 1px solid #bebebe;
|
border-bottom: 1px solid #bebebe;
|
||||||
}
|
}
|
||||||
.flat-tabs:has(.flat) {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
.flat-tabs button {
|
.flat-tabs button {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
|
@ -805,7 +805,7 @@ Fields.IconUrl = class extends Fields.BlurInput {
|
||||||
categories[category] = categories[category] || []
|
categories[category] = categories[category] || []
|
||||||
categories[category].push(props)
|
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)
|
Utils.naturalSort(a, b, U.lang)
|
||||||
)
|
)
|
||||||
for (const [name, items] of sorted) {
|
for (const [name, items] of sorted) {
|
||||||
|
|
Loading…
Reference in a new issue