unknown 5 лет назад
Родитель
Сommit
1e9662446d

+ 1 - 1
o2web/source/x_component_Selector/$Selector/blue_flat/css.wcss

@@ -120,7 +120,7 @@
 	},
   "contentNode_embedded": {
 	"overflow": "hidden",
-	"padding" : "5px 0px 0px 0px"
+	"padding" : "4px 0px 0px 0px"
   },
 	"selectNode": {
 		//"width": "200px",

+ 3 - 1
o2web/source/x_component_Selector/Person.js

@@ -1516,6 +1516,8 @@ MWF.xApplication.Selector.Person = new Class({
     },
     setSize : function(){
 
+        debugger;
+
         if( !this.options.width && !this.options.height )return;
 
         var getOffsetX = function(node){
@@ -1611,7 +1613,7 @@ MWF.xApplication.Selector.Person = new Class({
                 nodeHeight = this.options.height.toInt();
             }
 
-            nodeHeight = nodeHeight - getOffsetY( this.contentNode );
+            nodeHeight = nodeHeight - getOffsetY( this.contentNode ) - 1;
             if( this.titleNode ){
                 nodeHeight = nodeHeight - getOffsetY( this.titleNode ) - this.titleNode.getStyle("height").toInt();
             }