mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
Edit profile styling improvements
This commit is contained in:
@@ -296,7 +296,7 @@ export const EditProfileModal: React.FC<EditProfileModalProps> = ({
|
||||
<ModalCloseButton />
|
||||
<ModalBody>
|
||||
<FormProvider {...formMethods}>
|
||||
<Grid templateColumns={['1fr']} gap={6} p={8}>
|
||||
<Grid templateColumns={['1fr']} gap={6} p={[0, 8]}>
|
||||
<GridItem flex={1} alignItems="center" h="10em">
|
||||
<EditAvatarImage
|
||||
ref={imageFieldRefs.profileImageURL}
|
||||
@@ -331,7 +331,7 @@ export const EditProfileModal: React.FC<EditProfileModalProps> = ({
|
||||
<FormHelperText color="white">
|
||||
{nameRemaining} characters left.
|
||||
</FormHelperText>
|
||||
<Box minH="3em">
|
||||
<Box>
|
||||
<FormErrorMessage>
|
||||
{errors.name?.message?.toString()}
|
||||
</FormErrorMessage>
|
||||
@@ -349,8 +349,10 @@ export const EditProfileModal: React.FC<EditProfileModalProps> = ({
|
||||
<InputGroup w="100%">
|
||||
<InputLeftElement
|
||||
pointerEvents="none"
|
||||
pl={130}
|
||||
children=" https://metagame.wtf/players/"
|
||||
children="https://metagame.wtf/players/"
|
||||
width="auto"
|
||||
paddingLeft="1em"
|
||||
color="whiteAlpha.700"
|
||||
/>
|
||||
<Input
|
||||
w="100%"
|
||||
@@ -406,7 +408,7 @@ export const EditProfileModal: React.FC<EditProfileModalProps> = ({
|
||||
What is your weekly availability for any kind of freelance
|
||||
work?
|
||||
</FormHelperText>
|
||||
<InputGroup w="100%">
|
||||
<InputGroup w="5em">
|
||||
<InputLeftElement>
|
||||
<Text as="span" role="img" aria-label="clock">
|
||||
🕛
|
||||
|
||||
@@ -133,13 +133,14 @@ export const EditBackgroundImage = forwardRef<
|
||||
as="label"
|
||||
h="full"
|
||||
w="full"
|
||||
ml={3}
|
||||
ml={[0, 3]}
|
||||
htmlFor="upload-bg-image"
|
||||
border="1px"
|
||||
color="white"
|
||||
borderColor="blue.600"
|
||||
borderRadius="4px"
|
||||
display="flex"
|
||||
flexDirection={['column', 'row']}
|
||||
alignItems="center"
|
||||
justifyContent="center"
|
||||
>
|
||||
@@ -186,6 +187,7 @@ export const EditBackgroundImage = forwardRef<
|
||||
size="md"
|
||||
fontSize="sm"
|
||||
ml={3}
|
||||
mt={[3, 0]}
|
||||
color="white"
|
||||
rounded="md"
|
||||
_hover={{ borderColor: 'blue.700' }}
|
||||
|
||||
Reference in New Issue
Block a user