From a8f5f652eec420922f01d3009d354d43d72fd994 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 2 Jun 2022 10:27:12 -0500 Subject: fix header button alignment on search detail --- .../src/components/Search/Detail/SearchDetailHeader.js | 6 +++--- src/web/src/components/Search/Search.css | 17 ++++++++++++----- 2 files changed, 15 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/web/src/components/Search/Detail/SearchDetailHeader.js b/src/web/src/components/Search/Detail/SearchDetailHeader.js index ac613249..2071540f 100644 --- a/src/web/src/components/Search/Detail/SearchDetailHeader.js +++ b/src/web/src/components/Search/Detail/SearchDetailHeader.js @@ -63,11 +63,11 @@ const SearchDetailHeader = ({ // if the screen is less than 684 pixels, display the action buttons in a new segment, with full text. return ( <> - -
+ +
{searchText}
- {!isTinyScreen &&
+ {!isTinyScreen &&
} diff --git a/src/web/src/components/Search/Search.css b/src/web/src/components/Search/Search.css index f66a3bc7..ca31d308 100644 --- a/src/web/src/components/Search/Search.css +++ b/src/web/src/components/Search/Search.css @@ -105,12 +105,19 @@ width: 5px !important; } -.search-detail-header { +.search-detail-header-segment { + margin-top: 15px !important; + height: 78px !important; + padding-top: 20px !important; + display: flex; +} + +.search-detail-header-segment > .header { font-weight: normal !important; - margin-top: 12px !important; + margin-top: 8px !important; } -.search-detail-action-button { - float: right; - margin-top: -48px !important; +.search-detail-header-buttons { + display: inline; + margin-left: auto; } \ No newline at end of file -- cgit v1.2.3