Merge pull request #4660 from Ocelot-Social-Community/4641-fixcentred-login-form

Centered the login-form
This commit is contained in:
Somesh Ranjan 2021-09-13 18:48:58 +05:30 committed by GitHub
commit 8e35faa701
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 4 deletions

View File

@ -115,7 +115,7 @@ export default {
.login-form {
width: 80vw;
max-width: 620px;
/* margin: auto; */
margin: auto;
.base-button {
display: block;

View File

@ -1,5 +1,5 @@
<template>
<section class="login-form">
<section class="registration-slider">
<base-card>
<template #imageColumn>
<page-params-link :pageParams="links.ORGANIZATION" :title="$t('login.moreInfo', metadata)">
@ -255,4 +255,10 @@ export default {
}
</script>
<style lang="scss"></style>
<style lang="scss">
.registration-slider {
width: 80vw;
max-width: 620px;
margin: auto;
}
</style>

View File

@ -306,7 +306,7 @@ describe('Registration', () => {
it('renders', async () => {
wrapper = await Wrapper()
expect(wrapper.is('.login-form')).toBe(true)
expect(wrapper.is('.registration-slider')).toBe(true)
})
// The asyncTests must go last