Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(slice-machine): convert legacy slice dialog overflow (DT-1677) #1168

Merged
merged 1 commit into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ export const ConvertLegacySliceAsNewSliceDialog: FC<DialogProps> = ({
return (
<form id="convert-legacy-slice-as-new-slice-dialog">
<Box display="flex" flexDirection="column">
<ScrollArea className={styles.scrollArea}>
<ScrollArea
className={styles.scrollArea}
style={{ width: 448 }}
>
<Text variant="normal" color="grey11">
This will create a new slice with the same fields. The new
slice will replace the legacy slice in all of your types,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ export const ConvertLegacySliceAsNewVariationDialog: FC<DialogProps> = ({
return (
<form id="convert-legacy-slice-as-new-variation-dialog">
<Box display="flex" flexDirection="column">
<ScrollArea className={styles.scrollArea}>
<ScrollArea
className={styles.scrollArea}
style={{ width: 448 }}
>
<Text variant="normal" color="grey11">
If you have multiple slices that are similar, you can
combine them as variations of the same slice.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ export const ConvertLegacySliceMergeWithIdenticalDialog: FC<DialogProps> = ({
return (
<form id="convert-legacy-slice-merge-with-identical-dialog">
<Box display="flex" flexDirection="column">
<ScrollArea className={styles.scrollArea}>
<ScrollArea
className={styles.scrollArea}
style={{ width: 448 }}
>
<Text variant="normal" color="grey11">
If you have multiple identical slices, you can merge them.
All of your content will be remapped to the target slice.
Expand Down