Skip to content

Commit faf210c

Browse files
authored
Merge pull request #891 from Codeinwp/feat/opml-service/1340
feat: move image storage menu
2 parents 7382c63 + 1514bd8 commit faf210c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

assets/src/dashboard/parts/components/RadioBoxes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default function RadioBoxes({ options, value, onChange, label, disabled =
1616
onChange={handleClick}
1717
>
1818

19-
{label && <legend className="uppercase font-semibold text-s text-light-black mb-6">{label}</legend>}
19+
{label && <legend className="uppercase font-semibold text-s text-light-black mb-6 inline-block">{label}</legend>}
2020

2121
{options.map( ( option, index ) => {
2222
const { title, value: buttonValue, description } = option;

assets/src/dashboard/parts/connected/settings/Menu.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ const menuItems = [
2020
label: strings.general_settings_menu_item,
2121
value: 'general'
2222
},
23+
{
24+
label: strings.image_storage,
25+
value: 'offload_media'
26+
},
2327
{
2428
label: strings.advanced_settings_menu_item,
2529
value: 'compression',
@@ -45,10 +49,6 @@ const menuItems = [
4549
{
4650
label: strings.cloud_library,
4751
value: 'cloud_library'
48-
},
49-
{
50-
label: strings.image_storage,
51-
value: 'offload_media'
5252
}
5353
];
5454

0 commit comments

Comments
 (0)