From d680d5fd4c23514cf793f57ef064ade5cce1bdc4 Mon Sep 17 00:00:00 2001 From: Robin Pyon Date: Tue, 5 Dec 2023 10:20:59 +0000 Subject: [PATCH] fix: fix back button alignment on smaller breakpoints, tweak search styles --- .../navbar/search/components/SearchHeader.tsx | 25 +++++++++---------- .../src/desk/components/pane/PaneHeader.tsx | 2 +- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/packages/sanity/src/core/studio/components/navbar/search/components/SearchHeader.tsx b/packages/sanity/src/core/studio/components/navbar/search/components/SearchHeader.tsx index 5f3d3add8cf..4a272a82dde 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/components/SearchHeader.tsx +++ b/packages/sanity/src/core/studio/components/navbar/search/components/SearchHeader.tsx @@ -20,7 +20,8 @@ const AnimatedSpinnerIcon = styled(SpinnerIcon)` animation: ${rotate} 500ms linear infinite; ` -const FilterBox = styled(Box)` +const FilterDiv = styled.div` + line-height: 0; position: relative; ` @@ -90,15 +91,13 @@ export const SearchHeader = forwardRef(func {/* (Fullscreen) Close button */} {fullscreen && ( - -