Skip to content

Commit

Permalink
Improve search page button colors
Browse files Browse the repository at this point in the history
Also show all buttons on one line for info indexer modal

Fixes #2046
  • Loading branch information
mynameisbogdan committed Mar 19, 2024
1 parent 721ae1c commit 7d5d338
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 0 additions & 6 deletions frontend/src/Indexer/Info/IndexerInfoModalContent.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,3 @@
justify-content: space-between;
}

@media only screen and (max-width: $breakpointExtraSmall) {
.modalFooter {
flex-direction: column;
gap: 10px;
}
}
7 changes: 6 additions & 1 deletion frontend/src/Search/SearchFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,11 @@ class SearchFooter extends Component {
name="searchQuery"
value={searchQuery}
buttons={
<FormInputButton onPress={this.onQueryParameterModalOpenClick}>
<FormInputButton
kind={kinds.DEFAULT}
onPress={this.onQueryParameterModalOpenClick}
title={translate('ClickToChangeQueryOptions')}
>
<Icon
name={icon}
/>
Expand Down Expand Up @@ -275,6 +279,7 @@ class SearchFooter extends Component {
}

<SpinnerButton
kind={kinds.PRIMARY}
className={styles.searchButton}
isSpinning={isFetching}
isDisabled={isFetching || !hasIndexers}
Expand Down
1 change: 1 addition & 0 deletions src/NzbDrone.Core/Localization/Core/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
"Clear": "Clear",
"ClearHistory": "Clear History",
"ClearHistoryMessageText": "Are you sure you want to clear all {appName} history?",
"ClickToChangeQueryOptions": "Click to change query options",
"ClientPriority": "Client Priority",
"Clone": "Clone",
"CloneProfile": "Clone Profile",
Expand Down

0 comments on commit 7d5d338

Please sign in to comment.