fix positioning of hover box when text is not on far left

This commit is contained in:
Fraser
2023-08-12 17:32:01 -04:00
parent 42f3666dec
commit 48d0c48964
+2 -1
View File
@@ -43,10 +43,11 @@ ol {
position: absolute;
display: none;
width: 300px;
transform: translate(-50%, 1.7rem);
@apply bg-white hover:bg-gray-300 h-fit px-3;
@apply border border-gray-300;
}
.glossary-link:hover + .glossary-hover {
display: block;
display: initial;
}