Explorar el Código

add ng-cloak to avatar and remove main transition

Fix #125
Silly hace 8 años
padre
commit
afbc49ba32
Se han modificado 2 ficheros con 1 adiciones y 3 borrados
  1. 1 1
      src/directives/avatar.ts
  2. 0 2
      src/sass/layout/_main.scss

+ 1 - 1
src/directives/avatar.ts

@@ -78,7 +78,7 @@ export default [
                 };
             }],
             template: `
-                <div class="avatar" ng-class="ctrl.avatarClass()">
+                <div class="avatar" ng-class="ctrl.avatarClass()" ng-cloak>
                     <div class="avatar-loading" ng-if="ctrl.isLoading">
                         <span></span>
                     </div>

+ 0 - 2
src/sass/layout/_main.scss

@@ -15,11 +15,9 @@
 #main-wrapper {
     height: 100%;
     margin: 0 auto;
-    //max-width: 1500px;
     width: 98vw;
     max-width: 450px;
     max-height: 575px;
-    transition: max-width 0.8s ease-in-out;
     height: calc(100vh - #{$header-height} - #{$footer-height} - #{$main-padding} * 2 - #{$main-border-top});
     &.wide {
         max-width: 1500px;