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

How to center in the body #1800

Open
francelwebdev opened this issue Oct 15, 2024 · 3 comments
Open

How to center in the body #1800

francelwebdev opened this issue Oct 15, 2024 · 3 comments

Comments

@francelwebdev
Copy link

Hello,

I use varlet and nuxtjs and i want to know how to center this card in the body beween the header and footer.

Screenshot from 2024-10-15 16-42-28

@francelwebdev francelwebdev changed the title How to verlcenter in the body How to center in the body Oct 15, 2024
@chouchouji
Copy link
Member

Can you provide your reproduction code?

@francelwebdev
Copy link
Author

@chouchouji

> <var-form ref="form" scroll-to-error="start" > <var-space direction="column" :size="[14, 0]"> <var-space direction="column" :size="[14, 0]"> <var-button block type="primary" @click=""> Utiliser Google </var-button> </var-space> <var-input variant="outlined" placeholder="Email" :rules="v => !!v || 'The username cannot be empty'" v-model="loginFormData.email" /> <var-space direction="column" :size="[14, 0]"> <var-button block type="primary" @click=""> Se connecter </var-button> </var-space> </var-space> </var-form> </var-card> </var-col> </var-row>

@chouchouji
Copy link
Member

@chouchouji

> <var-form ref="form" scroll-to-error="start" > <var-space direction="column" :size="[14, 0]"> <var-space direction="column" :size="[14, 0]"> <var-button block type="primary" @click=""> Utiliser Google </var-button> </var-space> <var-input variant="outlined" placeholder="Email" :rules="v => !!v || 'The username cannot be empty'" v-model="loginFormData.email" /> <var-space direction="column" :size="[14, 0]"> <var-button block type="primary" @click=""> Se connecter </var-button> </var-space> </var-space> </var-form> </var-card> </var-col> </var-row>

I can't reproduce by the code only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants