mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: adjust welcome dialog size (#8244)
This commit is contained in:
parent
e33f71a8f4
commit
957ef12ca3
@ -1,4 +1,4 @@
|
||||
import { Button, styled, Typography } from '@mui/material';
|
||||
import { Button, styled } from '@mui/material';
|
||||
import type { FC } from 'react';
|
||||
|
||||
const TitleContainer = styled('div')(({ theme }) => ({
|
||||
@ -35,10 +35,10 @@ export const CreateFlag: FC<{ project: string }> = ({ project }) => {
|
||||
<NeutralCircleContainer>1</NeutralCircleContainer>
|
||||
Create a feature flag
|
||||
</TitleContainer>
|
||||
<Typography>
|
||||
<div>The project currently holds no feature toggles.</div>
|
||||
<div>Create a feature flag to get started.</div>
|
||||
</Typography>
|
||||
<div>
|
||||
<p>The project currently holds no feature toggles.</p>
|
||||
<p>Create a feature flag to get started.</p>
|
||||
</div>
|
||||
<div>
|
||||
<Button href={`projects/${project}`} variant='contained'>
|
||||
Go to project
|
||||
@ -56,10 +56,13 @@ export const ConnectSDK: FC<{ project: string }> = ({ project }) => {
|
||||
<NeutralCircleContainer>2</NeutralCircleContainer>
|
||||
Connect an SDK
|
||||
</TitleContainer>
|
||||
<Typography>
|
||||
Your project is not yet connected to any SDK. In order to start
|
||||
using your feature flag connect an SDK to the project.
|
||||
</Typography>
|
||||
<div>
|
||||
<p>Your project is not yet connected to any SDK.</p>
|
||||
<p>
|
||||
In order to start using your feature flag connect an SDK to
|
||||
the project.
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<Button href={`projects/${project}`} variant='contained'>
|
||||
Go to project
|
||||
|
@ -10,8 +10,8 @@ import { formatAssetPath } from 'utils/formatPath';
|
||||
const StyledDialog = styled(Dialog)(({ theme }) => ({
|
||||
'& .MuiDialog-paper': {
|
||||
borderRadius: theme.shape.borderRadiusLarge,
|
||||
maxWidth: theme.spacing(140),
|
||||
width: '100%',
|
||||
width: '65vw',
|
||||
maxWidth: '1800px',
|
||||
backgroundColor: 'transparent',
|
||||
},
|
||||
padding: 0,
|
||||
|
Loading…
Reference in New Issue
Block a user