From 805ee582548dae7636bee1a139f266f9d25b7cf8 Mon Sep 17 00:00:00 2001 From: cristhianzl Date: Thu, 2 Nov 2023 17:24:35 -0300 Subject: [PATCH] fix(tagsSelectorComponent): reduce the gap between tags in the TagsSelector component for better visual alignment fix(ConfirmationModal): add top margin to the confirmation button in the ConfirmationModal component to improve spacing fix(extraSidebarComponent): change the size prop value of the ShareFlowButton component to "small-h-full" for better visual alignment fix(extraSidebarComponent): add cursor pointer and click event to the text indicating the sharing status in the ShareFlowButton component to toggle the sharePublic state fix(extraSidebarComponent): reduce the gap between elements in the ConfirmationModal content for better visual alignment fix(extraSidebarComponent): change the className of the ExportModal button to "extra-side-bar-buttons" and add an onClick event to trigger the uploadFlow function fix(extraSidebarComponent): change the className of the ExportModal button to "extra-side-bar-buttons" and add an onClick event to trigger the uploadFlow function fix(extraSidebarComponent): change the className of the Save button in the ExtraSidebar component to "extra-side-bar-buttons" and add an onClick event to trigger the saveFlow function fix(StorePage): remove console.log statement in the StorePage component fix(applies.css): remove unnecessary padding-bottom from the .main-page-flows-display class fix(applies.css): remove unnecessary padding-bottom from the .main-page-flows-display class fix(applies.css): remove unnecessary padding-bottom from the .main-page-flows-display class fix(applies.css): remove unnecessary padding-bottom from the .main-page-flows-display class fix(applies.css): remove unnecessary padding-bottom from the .main-page-flows-display class fix(applies.css): remove unnecessary padding-bottom from the .main-page-flows-display class fix(applies.css): remove unnecessary padding-bottom from the .main-page-flows-display class fix(applies.css): remove unnecessary padding-bottom from the .main-page-flows-display class fix(applies.css): remove unnecessary padding-bottom from the .main-page-flows-display class fix(applies.css): remove unnecessary padding-bottom from the .main-page-flows-display class fix(applies.css): remove unnecessary padding-bottom from the .main-page-flows-display class fix(applies.css): remove unnecessary padding-bottom from the .main-page-flows-display class fix(applies.css): remove unnecessary padding-bottom from the .main-page-flows-display class fix(applies.css): remove unnecessary padding-bottom from the .main-page-flows-display class --- .../tagsSelectorComponent/index.tsx | 2 +- .../src/modals/ConfirmationModal/index.tsx | 3 +- .../extraSidebarComponent/index.tsx | 85 +++++++++++-------- src/frontend/src/pages/StorePage/index.tsx | 2 - src/frontend/src/style/applies.css | 6 +- 5 files changed, 55 insertions(+), 43 deletions(-) diff --git a/src/frontend/src/components/tagsSelectorComponent/index.tsx b/src/frontend/src/components/tagsSelectorComponent/index.tsx index ed9ad6684..c371816be 100644 --- a/src/frontend/src/components/tagsSelectorComponent/index.tsx +++ b/src/frontend/src/components/tagsSelectorComponent/index.tsx @@ -10,7 +10,7 @@ export function TagsSelector({ setSelectedTags: (tag: string) => void; }) { return ( -
+
{tags.map((tag, index) => { return ( ), @@ -267,18 +283,12 @@ export default function ExtraSidebar(): JSX.Element {
- - + +
{ExportMemo}
@@ -305,22 +315,25 @@ export default function ExtraSidebar(): JSX.Element {
- + onClick={(event) => { + saveFlow(flow!); + }} + > + + +
diff --git a/src/frontend/src/pages/StorePage/index.tsx b/src/frontend/src/pages/StorePage/index.tsx index 0671f8b35..3a237bd0f 100644 --- a/src/frontend/src/pages/StorePage/index.tsx +++ b/src/frontend/src/pages/StorePage/index.tsx @@ -355,8 +355,6 @@ export default function StorePage(): JSX.Element { ) : ( searchData.map((item, idx) => { - console.log(item); - return ( <> diff --git a/src/frontend/src/style/applies.css b/src/frontend/src/style/applies.css index 98cc101a7..a11a1c072 100644 --- a/src/frontend/src/style/applies.css +++ b/src/frontend/src/style/applies.css @@ -123,7 +123,7 @@ @apply flex gap-2; } .primary-input { - @apply form-input block w-full truncate rounded-md border-border bg-background px-3 text-left shadow-sm placeholder:text-muted-foreground focus:border-ring focus:placeholder-transparent focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 text-sm; + @apply form-input block w-full truncate rounded-md border-border bg-background px-3 text-left text-sm shadow-sm placeholder:text-muted-foreground focus:border-ring focus:placeholder-transparent focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50; } .skeleton-card { @@ -237,7 +237,7 @@ } .main-page-flows-display { - @apply grid w-full gap-4 md:grid-cols-2 lg:grid-cols-3; + @apply grid w-full gap-4 pb-7 md:grid-cols-2 lg:grid-cols-3; } .community-page-arrangement { @@ -495,7 +495,7 @@ @apply flex items-center gap-0.5 rounded-md px-1.5 py-1 text-sm font-medium; } .header-menu-bar-display { - @apply flex max-w-[120px] lg:max-w-[200px] cursor-pointer items-center gap-2; + @apply flex max-w-[120px] cursor-pointer items-center gap-2 lg:max-w-[200px]; } .header-menu-flow-name { @apply flex-1 truncate;