Skip to content

Commit

Permalink
fix design comments
Browse files Browse the repository at this point in the history
  • Loading branch information
SzymczakJ committed Oct 8, 2024
1 parent 2fddc70 commit 47ba23f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/components/Search/SearchRouter/SearchRouterList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ function SearchRouterList(
onLayout={setPerformanceTimersEnd}
ref={ref}
showScrollIndicator={!isSmallScreenWidth}
sectionTitleStyles={styles.mhn2}
/>
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Search/SearchRouter/SearchRouterModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function SearchRouterModal() {
type={modalType}
fullscreen
isVisible={isSearchRouterDisplayed}
popoverAnchorPosition={{right: 20, top: 20}}
popoverAnchorPosition={{right: 6, top: 6}}
onClose={closeSearchRouter}
>
<FocusTrapForModal active={isSearchRouterDisplayed}>{isSearchRouterDisplayed && <SearchRouter onRouterClose={closeSearchRouter} />}</FocusTrapForModal>
Expand Down
4 changes: 2 additions & 2 deletions src/styles/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3615,8 +3615,8 @@ const styles = (theme: ThemeColors) =>

searchInputStyle: {
color: theme.textSupporting,
fontSize: 13,
lineHeight: 16,
fontSize: variables.fontSizeNormal,
lineHeight: variables.fontSizeNormalHeight,
},

searchRouterTextInputContainer: {
Expand Down
4 changes: 4 additions & 0 deletions src/styles/utils/spacing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ export default {
marginHorizontal: 32,
},

mhn2: {
marginHorizontal: -8,
},

mhn5: {
marginHorizontal: -20,
},
Expand Down

0 comments on commit 47ba23f

Please sign in to comment.