mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 15:09:33 +01:00
mobile: fix sidemenu padding top
This commit is contained in:
committed by
Abdullah Atta
parent
b30fa436bd
commit
79b43b1058
@@ -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 />
|
||||||
|
|||||||
@@ -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 />
|
||||||
|
|||||||
@@ -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 />
|
||||||
|
|||||||
Reference in New Issue
Block a user