diff --git a/UI/BigComponents/PlantNetSpeciesSearch.ts b/UI/BigComponents/PlantNetSpeciesSearch.ts index 872dcecda..70e456385 100644 --- a/UI/BigComponents/PlantNetSpeciesSearch.ts +++ b/UI/BigComponents/PlantNetSpeciesSearch.ts @@ -90,14 +90,14 @@ export default class PlantNetSpeciesSearch extends VariableUiElement { const buttons = new Combine([ new Button( new Combine([ - Svg.back_svg().SetClass("w-4"), + Svg.back_svg().SetClass("w-6 mr-1 bg-white rounded-full p-1"), t.back]).SetClass("flex"), () => { selectedSpecies.setData(undefined) }).SetClass("btn btn-secondary"), new Button( - new Combine([Svg.confirm_svg().SetClass("w-4"), t.confirm]).SetClass("flex") + new Combine([Svg.confirm_svg().SetClass("w-6 mr-1"), t.confirm]).SetClass("flex") , () => { onConfirm(wikidataSpecies) }).SetClass("btn"), diff --git a/UI/Image/ImageUploadFlow.ts b/UI/Image/ImageUploadFlow.ts index 033aecd03..1c4f49001 100644 --- a/UI/Image/ImageUploadFlow.ts +++ b/UI/Image/ImageUploadFlow.ts @@ -130,16 +130,17 @@ export class ImageUploadFlow extends Toggle { return undefined; } if (l == 1) { - return t.uploadingPicture.Clone().SetClass("alert") + return new Loading( t.uploadingPicture).SetClass("alert") } else { - return t.uploadingMultiple.Subs({count: "" + l}).SetClass("alert") + return new Loading(t.uploadingMultiple.Subs({count: "" + l})).SetClass("alert") } })), new VariableUiElement(uploader.failed.map(q => q.length).map(l => { if (l == 0) { return undefined } - return new Loading(t.uploadFailed).SetClass("alert"); + console.log(l) + return t.uploadFailed.SetClass("block alert"); })), new VariableUiElement(uploadedCount.map(l => { if (l == 0) { diff --git a/UI/SpecialVisualizations.ts b/UI/SpecialVisualizations.ts index 32901dbec..826c45ab6 100644 --- a/UI/SpecialVisualizations.ts +++ b/UI/SpecialVisualizations.ts @@ -1343,7 +1343,7 @@ export default class SpecialVisualizations { return new Combine([ toggle, - new Combine([Svg.plantnet_logo_svg().SetClass("w-8"), + new Combine([Svg.plantnet_logo_svg().SetClass("w-10 h-10 p-1 mr-1 bg-white rounded-full"), Translations.t.plantDetection.poweredByPlantnet]) .SetClass("flex p-2 bg-gray-200 rounded-xl self-end") ]).SetClass("flex flex-col") diff --git a/assets/svg/license_info.json b/assets/svg/license_info.json index 7c7cf6049..f645f3eb1 100644 --- a/assets/svg/license_info.json +++ b/assets/svg/license_info.json @@ -992,7 +992,7 @@ "https://plantnet.org" ], "sources": [ - "Plantnet.org" + "https://plantnet.org" ] }, {