mobile: fix sidemenu padding top

This commit is contained in:
Ammar Ahmed
2025-02-17 10:38:51 +05:00
committed by Abdullah Atta
parent b30fa436bd
commit 79b43b1058
3 changed files with 7 additions and 3 deletions

View File

@@ -49,7 +49,8 @@ export function SideMenuHome() {
height: "100%", height: "100%",
width: "100%", width: "100%",
backgroundColor: colors.primary.background, backgroundColor: colors.primary.background,
gap: DefaultAppStyles.GAP gap: DefaultAppStyles.GAP,
paddingTop: DefaultAppStyles.GAP_SMALL
}} }}
> >
<SideMenuHeader /> <SideMenuHeader />

View File

@@ -22,6 +22,7 @@ import { View } from "react-native";
import { AppFontSize } from "../../utils/size"; import { AppFontSize } from "../../utils/size";
import Paragraph from "../ui/typography/paragraph"; import Paragraph from "../ui/typography/paragraph";
import { SideMenuHeader } from "./side-menu-header"; import { SideMenuHeader } from "./side-menu-header";
import { DefaultAppStyles } from "../../utils/styles";
type SideMenuListEmptyProps = { type SideMenuListEmptyProps = {
placeholder: string; placeholder: string;
@@ -38,7 +39,8 @@ export const SideMenuListEmpty = (props: SideMenuListEmptyProps) => {
> >
<View <View
style={{ style={{
backgroundColor: colors.primary.background backgroundColor: colors.primary.background,
paddingTop: DefaultAppStyles.GAP_SMALL
}} }}
> >
<SideMenuHeader /> <SideMenuHeader />

View File

@@ -245,7 +245,8 @@ export const SideMenuTags = () => {
ListHeaderComponent={ ListHeaderComponent={
<View <View
style={{ style={{
backgroundColor: colors.primary.background backgroundColor: colors.primary.background,
paddingTop: DefaultAppStyles.GAP_SMALL
}} }}
> >
<SideMenuHeader /> <SideMenuHeader />