From ca99d7001e5f3f4ebcfded6d4757cd6546e508e2 Mon Sep 17 00:00:00 2001 From: Rihan Date: Tue, 17 May 2022 01:03:17 +0000 Subject: [PATCH 1/5] Responsive navigation --- src/components/buttons/IconPatch.tsx | 2 +- src/components/layout/Navigation.tsx | 8 ++++---- src/components/text/ArrowLink.tsx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/buttons/IconPatch.tsx b/src/components/buttons/IconPatch.tsx index 67f18106..c18803d5 100644 --- a/src/components/buttons/IconPatch.tsx +++ b/src/components/buttons/IconPatch.tsx @@ -14,7 +14,7 @@ export function IconPatch(props: IconPatchProps) {
diff --git a/src/components/layout/Navigation.tsx b/src/components/layout/Navigation.tsx index 3e40ff6d..be00a2fb 100644 --- a/src/components/layout/Navigation.tsx +++ b/src/components/layout/Navigation.tsx @@ -11,16 +11,16 @@ export interface NavigationProps { export function Navigation(props: NavigationProps) { return ( -
-
-
+
+
+
{props.children}
-
+
+ {direction === "left" ? ( From 6d271bc7fd714e36493ad6454fe6f57847ef5891 Mon Sep 17 00:00:00 2001 From: Rihan Date: Tue, 17 May 2022 01:03:27 +0000 Subject: [PATCH 2/5] Responsive rounded borders --- src/components/layout/Paper.tsx | 2 +- src/components/media/VideoPlayer.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/layout/Paper.tsx b/src/components/layout/Paper.tsx index 8659e97f..2504844f 100644 --- a/src/components/layout/Paper.tsx +++ b/src/components/layout/Paper.tsx @@ -7,7 +7,7 @@ export interface PaperProps { export function Paper(props: PaperProps) { return ( -
+
{props.children}
) diff --git a/src/components/media/VideoPlayer.tsx b/src/components/media/VideoPlayer.tsx index 28a7ff6b..c625ea1c 100644 --- a/src/components/media/VideoPlayer.tsx +++ b/src/components/media/VideoPlayer.tsx @@ -14,7 +14,7 @@ export interface VideoPlayerProps { export function SkeletonVideoPlayer(props: { error?: boolean }) { return ( -
+
{props.error ? (
From 1b2cc93d68281d61ddf2478e9eb8dcfc7777da79 Mon Sep 17 00:00:00 2001 From: Rihan Date: Tue, 17 May 2022 01:15:19 +0000 Subject: [PATCH 3/5] Responsive padding --- src/components/layout/Paper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/layout/Paper.tsx b/src/components/layout/Paper.tsx index 2504844f..e2e8475b 100644 --- a/src/components/layout/Paper.tsx +++ b/src/components/layout/Paper.tsx @@ -7,7 +7,7 @@ export interface PaperProps { export function Paper(props: PaperProps) { return ( -
+
{props.children}
) From dff07a6f3891030aafea6b131e09439238c4f5b1 Mon Sep 17 00:00:00 2001 From: Rihan Date: Tue, 17 May 2022 01:15:23 +0000 Subject: [PATCH 4/5] Responsive title --- src/components/text/Title.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/text/Title.tsx b/src/components/text/Title.tsx index 0cc373e1..436a2663 100644 --- a/src/components/text/Title.tsx +++ b/src/components/text/Title.tsx @@ -3,5 +3,5 @@ export interface TitleProps { } export function Title(props: TitleProps) { - return

{props.children}

; + return

{props.children}

; } From 16da0a0e1650e335bb02d6ef01b7ad0c09884c33 Mon Sep 17 00:00:00 2001 From: Rihan Date: Tue, 17 May 2022 01:15:38 +0000 Subject: [PATCH 5/5] Fix icon spacing --- src/components/buttons/IconPatch.tsx | 2 +- src/components/layout/Navigation.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/buttons/IconPatch.tsx b/src/components/buttons/IconPatch.tsx index c18803d5..1a80061c 100644 --- a/src/components/buttons/IconPatch.tsx +++ b/src/components/buttons/IconPatch.tsx @@ -14,7 +14,7 @@ export function IconPatch(props: IconPatchProps) {
diff --git a/src/components/layout/Navigation.tsx b/src/components/layout/Navigation.tsx index be00a2fb..dfc8891f 100644 --- a/src/components/layout/Navigation.tsx +++ b/src/components/layout/Navigation.tsx @@ -20,7 +20,7 @@ export function Navigation(props: NavigationProps) {
{props.children}
-
+