fix(editor): Remove additional margin on tooltip (#6802)

fix(editor): Remove additional margin on tooltip (Element UI+ tooltip has a default 12px offset, the old had 0)
This commit is contained in:
Csaba Tuncsik 2023-07-31 15:10:23 +02:00 committed by GitHub
parent 37a365fe9f
commit 651cf34da6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 32 deletions

View file

@ -51,10 +51,6 @@
border-width: var.$popover-arrow-size;
}
&[data-popper-placement^='top'] {
//margin-bottom: #{var.$popover-arrow-size + 6};
}
&[data-popper-placement^='top'] .el-popper__arrow {
bottom: -(var.$popover-arrow-size);
left: 50%;
@ -70,10 +66,6 @@
}
}
&[data-popper-placement^='bottom'] {
//margin-top: #{var.$popover-arrow-size + 6};
}
&[data-popper-placement^='bottom'] .el-popper__arrow {
top: -(var.$popover-arrow-size);
left: 50%;
@ -89,10 +81,6 @@
}
}
&[data-popper-placement^='right'] {
margin-left: #{var.$popover-arrow-size + 6};
}
&[data-popper-placement^='right'] .el-popper__arrow {
top: 50%;
left: -(var.$popover-arrow-size);
@ -108,10 +96,6 @@
}
}
&[data-popper-placement^='left'] {
margin-right: #{var.$popover-arrow-size + 6};
}
&[data-popper-placement^='left'] .el-popper__arrow {
top: 50%;
right: -(var.$popover-arrow-size);

View file

@ -42,10 +42,6 @@
border-width: 5px;
}
&[data-popper-placement^='top'] {
margin-bottom: #{var.$tooltip-arrow-size + 6px};
}
&[data-popper-placement^='top'] .el-popper__arrow {
bottom: -(var.$tooltip-arrow-size);
border-top-color: var.$tooltip-border-color;
@ -59,10 +55,6 @@
}
}
&[data-popper-placement^='bottom'] {
margin-top: #{var.$tooltip-arrow-size + 6px};
}
&[data-popper-placement^='bottom'] .el-popper__arrow {
top: -(var.$tooltip-arrow-size);
border-top-width: 0;
@ -76,10 +68,6 @@
}
}
&[data-popper-placement^='right'] {
margin-left: #{var.$tooltip-arrow-size + 6px};
}
&[data-popper-placement^='right'] .el-popper__arrow {
left: -(var.$tooltip-arrow-size);
border-right-color: var.$tooltip-border-color;
@ -93,10 +81,6 @@
}
}
&[data-popper-placement^='left'] {
margin-right: #{var.$tooltip-arrow-size + 6px};
}
&[data-popper-placement^='left'] .el-popper__arrow {
right: -(var.$tooltip-arrow-size);
border-right-width: 0;