1301 suggestions spacing (#1316)

* Make confidence indicator not absolute

Closes #1301

* Use flex for explore header taxon

Closes #1297
This commit is contained in:
Johannes Klein
2024-03-27 20:27:58 +01:00
committed by GitHub
parent e5fb9a1aa8
commit e63ebf9147
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ const Header = ( {
<View className="z-10">
<Surface style={surfaceStyle} elevation={5}>
<View className="bg-white px-6 py-4 flex-row justify-between items-center">
<View className="flex-row">
<View className="flex-1 flex-row">
{!hideBackButton
? (
<BackButton

View File

@@ -121,7 +121,7 @@ const TaxonResult = ( {
color={clearBackground && "text-white"}
/>
{( confidence && confidencePosition === "text" ) && (
<View className="absolute -bottom-3 w-[62px]">
<View className="mt-1 w-[62px]">
<ConfidenceInterval
confidence={confidence}
activeColor={activeColor}