mirror of
https://github.com/harness/drone.git
synced 2025-05-05 15:32:56 +00:00
feat: [CODE-2819]: Reposition Search Box for Archived Repos (#3255)
This commit is contained in:
parent
2d4e2f063e
commit
b63781ee02
@ -100,6 +100,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
// to make space between the Archive banner and search box
|
||||
.searchBoxPositionArchivedRepo {
|
||||
top: -70px !important;
|
||||
}
|
||||
|
||||
.mainBorder {
|
||||
border-bottom: 1px solid var(--grey-200) !important;
|
||||
}
|
||||
|
@ -23,3 +23,4 @@ export declare const mainContainer: string
|
||||
export declare const refRoot: string
|
||||
export declare const rootSlash: string
|
||||
export declare const searchBoxCtn: string
|
||||
export declare const searchBoxPositionArchivedRepo: string
|
||||
|
@ -169,7 +169,7 @@ export function ContentHeader({
|
||||
</>
|
||||
)}
|
||||
</Layout.Horizontal>
|
||||
<div className={css.searchBoxCtn}>
|
||||
<div className={cx(css.searchBoxCtn, { [css.searchBoxPositionArchivedRepo]: repoMetadata?.archived })}>
|
||||
{!standalone && !isCurrentSessionPublic ? <CodeSearch repoMetadata={repoMetadata} /> : null}
|
||||
</div>
|
||||
</Container>
|
||||
|
Loading…
x
Reference in New Issue
Block a user