Skip to content

Commit 6aa9b23

Browse files
committed
update responsive styles
1 parent 6cb77b9 commit 6aa9b23

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/containers/posts/PostUtils/PostUtils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const PostsUtils = () => {
4949
}, [resetTestPosts]);
5050

5151
return (
52-
<Flex gap={"4"}>
52+
<Flex gap={"4"} wrap={"wrap"}>
5353
<Tooltip hasArrow label={t("Create Post")}>
5454
<Button leftIcon={<TbPlus />} onClick={handleCreatePost}>
5555
{t("Post")}

src/containers/users/UserUtils/UserUtils.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useCreateTestUsers, useCreateUser, useResetTestUsers } from "@/apis";
2-
import { ApiRoutes } from "@/constants";
2+
import { ApiRoutes, styles } from "@/constants";
33
import { useQueryKeyParams } from "@/hooks";
44
import { useModalStore } from "@/stores";
55
import { getRandomPhoneNumber, getRandomString, toUrl } from "@/utils";
@@ -44,7 +44,7 @@ const UsersUtils = () => {
4444
}, [resetTestUsers]);
4545

4646
return (
47-
<Flex gap={"4"}>
47+
<Flex gap={"4"} wrap={"wrap"}>
4848
<Tooltip hasArrow label={t("Create User")}>
4949
<Button leftIcon={<TbPlus />} onClick={handleCreateUser}>
5050
{t("User")}

src/pages/posts/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const PostsAllPage = () => {
3737
<ResponsiveLayout>
3838
<Flex direction={"column"} gap={"4"} h={"100%"}>
3939
<PostUtils />
40-
<Flex justifyContent={"space-between"}>
40+
<Flex justifyContent={"space-between"} gap={"4"} wrap={"wrap"}>
4141
<Search
4242
onSubmit={(search) =>
4343
push({

src/pages/users/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const UsersPage = () => {
3737
<ResponsiveLayout>
3838
<Flex direction={"column"} gap={"4"} h={"100%"}>
3939
<UserUtils />
40-
<Flex justifyContent={"space-between"}>
40+
<Flex justifyContent={"space-between"} gap={"4"} wrap={"wrap"}>
4141
<Search
4242
onSubmit={(search) =>
4343
push({

0 commit comments

Comments
 (0)