Browse Source

fix issue https://github.com/tracim/tracim/issues/683 and issue https://github.com/tracim/tracim/issues/684

AlexiCauvin 6 years ago
parent
commit
245db7c5c8
2 changed files with 5 additions and 4 deletions
  1. 1 1
      frontend/src/container/Login.jsx
  2. 4 3
      frontend/src/css/Login.styl

+ 1 - 1
frontend/src/container/Login.jsx View File

71
             <LoginLogo customClass='loginpage__logo' logoSrc={LoginLogoImg} />
71
             <LoginLogo customClass='loginpage__logo' logoSrc={LoginLogoImg} />
72
 
72
 
73
             <div className='row justify-content-center'>
73
             <div className='row justify-content-center'>
74
-              <div className='col-12 col-sm-11 col-md-8 col-lg-6 col-xl-5'>
74
+              <div className='col-12 col-sm-11 col-md-8 col-lg-6 col-xl-4'>
75
 
75
 
76
                 <Card customClass='loginpage__connection'>
76
                 <Card customClass='loginpage__connection'>
77
                   <CardHeader customClass='connection__header text-center'>{'Connexion'}</CardHeader>
77
                   <CardHeader customClass='connection__header text-center'>{'Connexion'}</CardHeader>

+ 4 - 3
frontend/src/css/Login.styl View File

19
       color #FFF
19
       color #FFF
20
       font-size 25px
20
       font-size 25px
21
   .connection__form
21
   .connection__form
22
-    margin 0 auto
23
-    width 70%
24
     &__rememberme
22
     &__rememberme
25
       &__label
23
       &__label
26
         font-size 13px
24
         font-size 13px
66
         content ' '
64
         content ' '
67
         width 130px
65
         width 130px
68
   &__footer
66
   &__footer
69
-    text-align center
67
+    position fixed
68
+    top 95%
69
+    left calc(50% - 152px) // 152px => width of the text / 2
70
     &__text
70
     &__text
71
+      width 305px
71
       font-size 17px
72
       font-size 17px
72
 
73
 
73
 @media (min-width: min-lg) and (max-width: max-lg)
74
 @media (min-width: min-lg) and (max-width: max-lg)