@ -332,7 +332,7 @@
name: "offset",
options: {
offset: function () {
return [o.adjustXOffset, (o.showArrow ? 9 : 0) + (o.adjustYOffset + o.adjustLength)];
return [o.adjustXOffset, (o.showArrow ? 14 : 0) + (o.adjustYOffset + o.adjustLength)];
}
}];
@ -7,7 +7,7 @@
*/
BI.Combo = BI.inherit(BI.Bubble, {
_const: {
TRIANGLE_LENGTH: 9
TRIANGLE_LENGTH: 14
},
_defaultConfig: function () {
var conf = BI.Combo.superclass._defaultConfig.apply(this, arguments);
@ -5,7 +5,7 @@
BI.PopupView = BI.inherit(BI.Widget, {
_defaultConfig: function (props) {
return BI.extend(BI.PopupView.superclass._defaultConfig.apply(this, arguments), {
@ -5,4 +5,4 @@
.box-shadows(0px 9px 28px 8px rgba(0, 0, 0, 0.05), 0px 6px 16px 0px rgba(0, 0, 0, 0.08), 0px 3px 6px -4px rgba(0, 0, 0, 0.12));
.border-radius(4px);
@ -32,11 +32,11 @@
bottom: 0;
left: 0;
> .bi-bubble-arrow {
bottom: -12px;
bottom: -14px;
width: 14px;
width: 18px;
> .bubble-arrow {
bottom: 8px;
left: 1px;
left: 2px;
@ -46,11 +46,11 @@
top: 0;
top: -12px;
top: -14px;
top: 8px;
@ -60,11 +60,11 @@
right: 0;
right: -12px;
right: -14px;
height: 14px;
height: 18px;
right: 8px;
top: 1px;
top: 2px;
@ -74,29 +74,29 @@
left: -12px;
left: -14px;
left: 8px;
.bi-bubble-arrow {
width: 12px;
height: 12px;
// 消除祖先节点设置的line-height:normal对空白节点的行高影响
line-height: 0;
overflow: hidden;
.bubble-arrow {
position: absolute;
&:before {
content: "";
background: @color-bi-background-default;
@ -106,7 +106,7 @@
visibility: visible;
transform: translateX(0px) rotate(-135deg);
transform-origin: center center;
.box-shadow(3px 3px 10px 0,rgba(0,0,0,6%));
.box-shadow(3px 3px 10px 0,rgba(0, 0, 0, 6%));