Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.

Commit

Permalink
feat: fix nav tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
yehezkieldio committed Feb 16, 2024
1 parent ee9fb43 commit 8be0f07
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/app/src/components/complain-tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const ComplainTabs: React.FC = () => {

<Route path="/complain/tabs" render={() => <Redirect to="/complain/tabs/dashboard" />} exact={true} />
</IonRouterOutlet>
<IonTabBar slot="bottom" mode="ios" translucent className="pb-4">
<IonTabBar slot="bottom" mode="ios" translucent className="pb-4 pt-4 border-t-2 border-t-black">
<IonTabButton tab="dashboardTabsComplain" href="/complain/tabs/dashboard">
<Icons.dashboardLaporan strokeWidth={1} className="pt-2 w-[32px] h-[30px]" />
<IonLabel className="pt-2 pb-2">Dashboard</IonLabel>
Expand Down
2 changes: 1 addition & 1 deletion apps/app/src/components/operator-tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const OperatorTabs: React.FC = () => {
/>
<Route path="/operator/tabs" render={() => <Redirect to="/operator/tabs/dashboard" />} exact={true} />
</IonRouterOutlet>
<IonTabBar slot="bottom" mode="ios" translucent className="pb-4 shadow-xl">
<IonTabBar slot="bottom" mode="ios" translucent className="pb-4 pt-4 shadow-xl border-t-2 border-t-black">
<IonTabButton tab="dashboardOperatorTab" href="/operator/tabs/dashboard">
<Icons.dashboard strokeWidth={1} className="pt-2 w-[32px] h-[30px]" />
<IonLabel className="pt-2 pb-2">Dashboard</IonLabel>
Expand Down
2 changes: 1 addition & 1 deletion apps/app/src/components/tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const Tabs: React.FC = () => {
<Route path="/tabs/preferences" render={() => <Preferences />} exact={true} />
<Route path="/tabs" render={() => <Redirect to="/tabs/home" />} exact={true} />
</IonRouterOutlet>
<IonTabBar slot="bottom" mode="ios" translucent className="pb-4">
<IonTabBar slot="bottom" mode="ios" translucent className="pb-4 pt-4 border-t-2 border-t-black">
<IonTabButton tab="homeTab" href="/tabs/home">
<Icons.home strokeWidth={1} className="pt-2 w-[32px] h-[30px]" />
<IonLabel className="pt-2 pb-2">{t("tabs.home")}</IonLabel>
Expand Down
2 changes: 1 addition & 1 deletion apps/app/src/components/trashbin-tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const TrashbinTabs: React.FC = () => {
<Route path="/trash-bin/tabs/trash" render={() => <OperatorTrashDisplay />} exact={true} />
<Route path="/trash-bin/tabs" render={() => <Redirect to="/trash-bin/tabs/trashbin" />} exact={true} />
</IonRouterOutlet>
<IonTabBar slot="bottom" mode="ios" translucent className="pb-4 shadow-xl">
<IonTabBar slot="bottom" mode="ios" translucent className="pb-4 pt-4 shadow-xl border-t-2 border-t-black">
<IonTabButton tab="backTabs" href="/operator">
<Icons.back strokeWidth={1} className="pt-2 w-[32px] h-[30px]" />
<IonLabel className="pt-2 pb-2">{t("tabs.back")}</IonLabel>
Expand Down

0 comments on commit 8be0f07

Please sign in to comment.