Add wrapper to Don't show this again checkbox

This commit is contained in:
Sqaaakoi 2024-10-12 07:20:58 +13:00
parent 9a02e43cfb
commit fb6e9c9bef
No known key found for this signature in database
2 changed files with 12 additions and 9 deletions

View file

@ -10,6 +10,7 @@
list-style: disc; list-style: disc;
} }
.vc-newPluginsManager-disable-wrapper,
.vc-newPluginsManager-close > div { .vc-newPluginsManager-close > div {
display: flex; display: flex;
} }

View file

@ -133,6 +133,7 @@ export function NewPluginsModal({ modalProps, newPlugins, newSettings }: { modal
/> />
</Flex> </Flex>
<Flex direction={Flex.Direction.HORIZONTAL}> <Flex direction={Flex.Direction.HORIZONTAL}>
<div className="vc-newPluginsManager-disable-wrapper">
<Checkbox <Checkbox
type={Checkbox.Types.INVERTED} type={Checkbox.Types.INVERTED}
value={!settings?.plugins?.NewPluginsManager?.enabled} value={!settings?.plugins?.NewPluginsManager?.enabled}
@ -142,6 +143,7 @@ export function NewPluginsModal({ modalProps, newPlugins, newSettings }: { modal
> >
<Text>Don't show this again</Text> <Text>Don't show this again</Text>
</Checkbox> </Checkbox>
</div>
</Flex> </Flex>
</ModalFooter> </ModalFooter>
</ModalRoot>; </ModalRoot>;