Skip to content

Commit a7ce52b

Browse files
Copilotmvadari
andcommitted
Switch tooltip CSS to use display:none instead of visibility:hidden - still troubleshooting CSS application issue
Co-authored-by: mvadari <8029314+mvadari@users.noreply.github.com>
1 parent 7c948a4 commit a7ce52b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

site/assets/style.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -838,11 +838,10 @@ footer {
838838
color: var(--text-color);
839839
}
840840

841-
/* Hide tooltip text by default */
841+
/* Hide tooltip text by default using display none */
842842
.tooltip .tooltip-text {
843+
display: none !important;
843844
position: absolute !important;
844-
visibility: hidden !important;
845-
opacity: 0 !important;
846845
width: 300px;
847846
background-color: var(--color-gray-7);
848847
color: var(--text-color);
@@ -853,7 +852,6 @@ footer {
853852
bottom: 125%;
854853
left: 50%;
855854
margin-left: -150px;
856-
transition: opacity 0.3s;
857855
border: 1px solid var(--border-color);
858856
font-size: 14px;
859857
font-weight: 400;
@@ -892,6 +890,7 @@ footer {
892890

893891
/* Show tooltip on hover */
894892
.tooltip:hover .tooltip-text {
893+
display: block !important;
895894
visibility: visible !important;
896895
opacity: 1 !important;
897896
}

0 commit comments

Comments
 (0)