Skip to content

Commit 2029a3f

Browse files
committed
feat(pci-block-storage): change retyping title and subtitle size
ref: #TAPC-5344 Signed-off-by: Adrien Turmo <[email protected]>
1 parent efd4623 commit 2029a3f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/manager/apps/pci-block-storage/src/components/VolumeModelTilesInput.component.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { TilesInput, useBytes } from '@ovh-ux/manager-pci-common';
22
import { useCallback, useMemo } from 'react';
33
import { useTranslation } from 'react-i18next';
44
import clsx from 'clsx';
5+
import { Text, TEXT_PRESET } from '@ovhcloud/ods-react';
56
import { TVolumeModel } from '@/api/hooks/useCatalog';
67
import { TVolumeRetypeModel } from '@/api/hooks/useCatalogWithPreselection';
78
import { putPreselectedModelFirst } from '@/api/select/catalog';
@@ -116,9 +117,10 @@ export const VolumeModelTilesInput = ({
116117
horizontal && '[&_.config-card\\_\\_badges]:w-full whitespace-pre-line',
117118
)}
118119
>
120+
<Text preset={TEXT_PRESET.heading5}>{label}</Text>
119121
<TilesInput
120122
name="volume-type"
121-
label={label}
123+
label=""
122124
value={volumeTypeValue}
123125
elements={volumeTypes}
124126
onChange={(e) => onChange(e)}

packages/manager/apps/pci-block-storage/src/pages/retype/Retype.page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const RetypePage = () => {
118118
className="w-fit flex flex-col h-[unset] gap-4"
119119
>
120120
<legend>
121-
<Text preset={TEXT_PRESET.heading2}>
121+
<Text preset={TEXT_PRESET.heading3}>
122122
{t('retype:pci_projects_project_storages_blocks_retype_title')}
123123
</Text>
124124
</legend>

0 commit comments

Comments
 (0)