Summary Files Commits Branches @commit @diff @stats
path: root / src / _popovers.scss
diff options
context:
space:
mode:
1 files changed, 2 insertions, 3 deletions
-rw-r--r--src/_popovers.scss5
diff --git a/src/_popovers.scss b/src/_popovers.scss
index 9a275e9..78c86aa 100644
--- a/src/_popovers.scss
+++ b/src/_popovers.scss
@@ -4,9 +4,8 @@
position: relative;
.popover-container {
- content: attr(data-tooltip);
- opacity: 0;
left: 50%;
+ opacity: 0;
padding: $layout-spacing;
position: absolute;
top: 0;
@@ -16,7 +15,7 @@
z-index: $zindex-4;
}
- :focus + .popover-container,
+ *:focus + .popover-container,
&:hover .popover-container,
.popover-container:hover {
display: block;