Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: fix properties topbar pagination

Ammar Ahmedbed091e20fba
diff --git a/apps/mobile/app/components/properties/items.tsx b/apps/mobile/app/components/properties/items.tsx
index 482986425..ebbadcc44 100644
--- a/apps/mobile/app/components/properties/items.tsx
+++ b/apps/mobile/app/components/properties/items.tsx
@@ -33,7 +33,6 @@ import AppIcon from "../ui/AppIcon";
import { Button } from "../ui/button";
import { Pressable } from "../ui/pressable";
import Paragraph from "../ui/typography/paragraph";
-import { Dialog } from "../dialog";
const TOP_BAR_ITEMS: ActionId[] = [
"pin",
@@ -375,7 +374,11 @@ export const Items = ({
style={{
flexDirection: "row",
paddingHorizontal: DefaultAppStyles.GAP,
- gap: 5
+ gap: 5,
+ /**
+ * ((columnItemWidth + gap) * noOfItems) - padding
+ */
+ width: (columnItemWidth + 5) * 5 - 12
}}
>
{item.map(renderTopBarItem)}