Browse Source

Tiny fix in profile graph css.

Rafał Pitoń 12 years ago
parent
commit
3d96ed1dba
2 changed files with 5 additions and 4 deletions
  1. 1 1
      static/cranefly/css/cranefly.css
  2. 4 3
      static/cranefly/css/cranefly/profiles.less

+ 1 - 1
static/cranefly/css/cranefly.css

@@ -1080,7 +1080,7 @@ a.btn-link:hover,a.btn-link:active,a.btn-link:focus{opacity:.9;filter:alpha(opac
 .user-profile .user-profile-header .header-avatar{border-radius:3px;float:left;width:80px;height:80px;margin-top:-8px}
 .user-profile .user-profile-header .header-avatar{border-radius:3px;float:left;width:80px;height:80px;margin-top:-8px}
 .user-profile .user-profile-header .header-side{margin-left:94px}.user-profile .user-profile-header .header-side h1{margin-left:6.666666666666667px}
 .user-profile .user-profile-header .header-side{margin-left:94px}.user-profile .user-profile-header .header-side h1{margin-left:6.666666666666667px}
 .user-profile hr{border:none;border-top:1px solid #eee;margin:14px 0}
 .user-profile hr{border:none;border-top:1px solid #eee;margin:14px 0}
-.user-profile .stat-header{border-bottom:1px solid #e2e2e2;margin-bottom:14px}.user-profile .stat-header .user-graph{height:40px}.user-profile .stat-header .user-graph svg{position:relative;left:1px;height:100%;width:100%}
+.user-profile .stat-header{border-bottom:1px solid #e2e2e2;margin-bottom:14px}.user-profile .stat-header .user-graph{height:40px;overflow:hidden}.user-profile .stat-header .user-graph svg{position:relative;left:1px;height:40px;width:100%}
 .user-profile .stat-header .help-text{float:right;margin-bottom:-20px;position:relative;top:47.9px;color:#999;font-size:11.9px}
 .user-profile .stat-header .help-text{float:right;margin-bottom:-20px;position:relative;top:47.9px;color:#999;font-size:11.9px}
 .user-profile .stat-header h2{margin-top:-54px;position:relative;top:4px;text-shadow:0 0 3px #fbfbfb}
 .user-profile .stat-header h2{margin-top:-54px;position:relative;top:4px;text-shadow:0 0 3px #fbfbfb}
 .user-profile .user-details .label{font-size:14px}
 .user-profile .user-details .label{font-size:14px}

+ 4 - 3
static/cranefly/css/cranefly/profiles.less

@@ -11,7 +11,7 @@
       img {
       img {
         border-radius: @baseBorderRadius;
         border-radius: @baseBorderRadius;
         width: 36px;
         width: 36px;
-        height: 36px; 
+        height: 36px;
       }
       }
     }
     }
 
 
@@ -60,11 +60,12 @@
 
 
     .user-graph {
     .user-graph {
       height: 40px;
       height: 40px;
+      overflow: hidden;
 
 
       svg {
       svg {
         position: relative;
         position: relative;
         left: 1px;
         left: 1px;
-        height: 100%;
+      	height: 40px;
         width: 100%;
         width: 100%;
       }
       }
     }
     }
@@ -104,7 +105,7 @@
         img {
         img {
           border-radius: @baseBorderRadius;
           border-radius: @baseBorderRadius;
           width: 36px;
           width: 36px;
-          height: 36px; 
+          height: 36px;
         }
         }
       }
       }