File tree Expand file tree Collapse file tree
web/sdk/admin/views/organizations/details/layout Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 display : flex;
2222 align-items : center;
2323 justify-content : space-between;
24+ min-height : var (--rs-space-11 );
2425}
2526
2627.navbar-action-menu-content {
6970
7071.nav-chip {
7172 cursor : pointer;
72- }
73+ }
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import {
1111 Spinner ,
1212 getAvatarColor ,
1313 toast ,
14+ Search
1415} from "@raystack/apsara" ;
1516
1617import styles from "./layout.module.css" ;
@@ -20,7 +21,6 @@ import { AddTokensDialog } from "./add-tokens-dialog";
2021import type React from "react" ;
2122import { useContext , useState } from "react" ;
2223import { OrganizationContext } from "../contexts/organization-context" ;
23- import { InputField } from "@raystack/apsara" ;
2424import type { Organization } from "@raystack/proton/frontier" ;
2525
2626interface navConfig {
@@ -334,10 +334,13 @@ export const OrganizationsDetailsNavabar = ({
334334 </ Flex >
335335 < Flex align = "center" gap = { 4 } >
336336 { search . isVisible ? (
337- < InputField
337+ < Search
338338 value = { search . query }
339339 onChange = { handleSearchChange }
340+ onClear = { ( ) => search . onChange ( "" ) }
340341 placeholder = "Search"
342+ size = "small"
343+ showClearButton
341344 data-test-id = "admin-org-details-navbar-search"
342345 />
343346 ) : null }
You can’t perform that action at this time.
0 commit comments