aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-06-02 10:27:12 -0500
committerJP Dillingham <jp@dillingham.me>2022-06-02 10:27:12 -0500
commita8f5f652eec420922f01d3009d354d43d72fd994 (patch)
treee6be8175b916bc27981d70f3aaf1309ba8d4d083
parent2bd24b38f046d9e7b37825db6af2756e43ba0dfc (diff)
downloadslskd-a8f5f652eec420922f01d3009d354d43d72fd994.tar.gz
fix header button alignment on search detail
-rw-r--r--src/web/src/components/Search/Detail/SearchDetailHeader.js6
-rw-r--r--src/web/src/components/Search/Search.css17
2 files changed, 15 insertions, 8 deletions
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 (
<>
- <Segment className='search-segment' raised>
- <Header className='search-detail-header'>
+ <Segment className='search-detail-header-segment' raised>
+ <Header>
<SearchStatusIcon state={state}/>{searchText}
</Header>
- {!isTinyScreen && <div className='search-detail-action-button'>
+ {!isTinyScreen && <div className='search-detail-header-buttons'>
<RefreshButton/>
<StopOrDeleteButton/>
</div>}
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