vendor/assets/stylesheets/spectre/_popovers.scss in spectre_scss-0.4.5.0 vs vendor/assets/stylesheets/spectre/_popovers.scss in spectre_scss-0.4.6.0
- old
+ new
@@ -2,22 +2,21 @@
.popover {
display: inline-block;
position: relative;
.popover-container {
- content: attr(data-tooltip);
- opacity: 0;
left: 50%;
+ opacity: 0;
padding: $layout-spacing;
position: absolute;
top: 0;
transform: translate(-50%, -50%) scale(0);
transition: transform .2s ease;
- width: $control-max-width;
+ width: $control-width-sm;
z-index: $zindex-4;
}
- :focus + .popover-container,
+ *:focus + .popover-container,
&:hover .popover-container,
.popover-container:hover {
display: block;
opacity: 1;
transform: translate(-50%, -100%) scale(1);