Просмотр исходного кода

BugFix installer

* importing theme css
* btn-register width
Yuki Takei 6 лет назад
Родитель
Сommit
feef4f6752

+ 1 - 1
src/client/js/components/InstallerForm.jsx

@@ -131,7 +131,7 @@ class InstallerForm extends React.Component {
           <div className="input-group m-t-30 m-b-20 d-flex justify-content-center">
             <button type="submit" className="fcbtn btn btn-success btn-1b btn-register">
               <span className="btn-label"><i className="icon-user-follow" /></span>
-              { this.props.t('Create') }
+              <span className="btn-label-text">{ this.props.t('Create') }</span>
             </button>
           </div>
 

+ 4 - 0
src/client/styles/scss/_login.scss

@@ -187,6 +187,10 @@
     .btn-label {
       background-color: rgba($brand-success, 0.4);
     }
+    .btn-label-text {
+      display: inline-block;
+      min-width: 45px;
+    }
     &:after {
       background-color: #3f7263;
     }

+ 1 - 1
src/server/views/installer.html

@@ -25,7 +25,7 @@
   <!-- styles -->
   {% include './widget/headers/styles-for-app.html' %}
   {% block theme_css_block %}
-    {% include './widget/headers/styles-theme.html' with {theme: 'default'} %}
+    {% include './widget/headers/styles-theme.html' with {themeName: 'default'} %}
   {% endblock %}
 
   {{ cdnStyleTagsByGroup('basis') }}

+ 1 - 1
src/server/views/login.html

@@ -299,7 +299,7 @@
           <div class="input-group m-t-30 m-b-20 d-flex justify-content-center">
             <button type="submit" class="fcbtn btn btn-success btn-1b btn-register">
               <span class="btn-label"><i class="icon-user-follow"></i></span>
-              {{ t('Sign up') }}
+              <span class="btn-label-text">{{ t('Sign up') }}</span>
             </button>
           </div>
         </form>