diff options
author | 2022-06-29 12:26:01 +0100 | |
---|---|---|
committer | 2022-06-29 19:28:11 +0530 | |
commit | 9f299a8863f925a3903959c37ba04c57bb95f635 (patch) | |
tree | 98885e8d7dc026eb8f6412c8644db5ae291e0d74 /src/components | |
parent | 6.0.0-nightly.80 [skip ci] (diff) | |
download | ferdium-app-9f299a8863f925a3903959c37ba04c57bb95f635.tar.gz ferdium-app-9f299a8863f925a3903959c37ba04c57bb95f635.tar.zst ferdium-app-9f299a8863f925a3903959c37ba04c57bb95f635.zip |
Fix Cache Settings subsection styling
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.js | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/src/components/settings/settings/EditSettingsForm.js b/src/components/settings/settings/EditSettingsForm.js index d7196caa8..3ccb37494 100644 --- a/src/components/settings/settings/EditSettingsForm.js +++ b/src/components/settings/settings/EditSettingsForm.js | |||
@@ -869,27 +869,26 @@ class EditSettingsForm extends Component { | |||
869 | {notCleared && ( | 869 | {notCleared && ( |
870 | <p>{intl.formatMessage(messages.cacheNotCleared)}</p> | 870 | <p>{intl.formatMessage(messages.cacheNotCleared)}</p> |
871 | )} | 871 | )} |
872 | <p> | 872 | <div className="settings__settings-group"> |
873 | <Button | 873 | <div className="settings__open-settings-cache-container"> |
874 | buttonType="secondary" | 874 | <Button |
875 | label={intl.formatMessage(messages.buttonClearAllCache)} | 875 | buttonType="secondary" |
876 | onClick={() => { | 876 | label={intl.formatMessage(messages.buttonClearAllCache)} |
877 | onClearAllCache(); | 877 | className="settings__open-settings-cache-button" |
878 | this.onClearCacheClicked(); | 878 | onClick={() => { |
879 | }} | 879 | onClearAllCache(); |
880 | disabled={isClearingAllCache} | 880 | this.onClearCacheClicked(); |
881 | loaded={!isClearingAllCache} | 881 | }} |
882 | /> | 882 | disabled={isClearingAllCache} |
883 | </p> | 883 | loaded={!isClearingAllCache} |
884 | <div style={{ | 884 | /> |
885 | marginTop: 20, | 885 | <Button |
886 | }} | 886 | buttonType="secondary" |
887 | > | 887 | label="Open Process Manager" |
888 | <Button | 888 | className="settings__open-settings-cache-button" |
889 | buttonType="secondary" | 889 | onClick={openProcessManager} |
890 | label="Open Process Manager" | 890 | /> |
891 | onClick={openProcessManager} | 891 | </div> |
892 | /> | ||
893 | </div> | 892 | </div> |
894 | </div> | 893 | </div> |
895 | 894 | ||