File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -205,20 +205,21 @@ html[data-theme="dark"] a[class^='fa-solid fa-circle-question'] {
205205
206206/* Glossary tooltip styles */
207207.glossary-term {
208- text-decoration : underline dotted; /* Dotted underline */
209208 cursor : help; /* Change cursor to indicate help */
209+ text-decoration : underline dotted; /* Dotted underline */
210210}
211211
212212.tooltip-glossary {
213- position : absolute; /* Position relative to the nearest positioned ancestor */
214- background-color : # fff ;
213+ background-color : # f6f6f6 ;
215214 border : 1px solid # ccc ;
216- padding : 5px ;
217- z-index : 10 ;
218- visibility : visible;
219- opacity : 0.9 ;
220- transform : translateY (5px ); /* Move tooltip slightly down */
221- white-space : nowrap; /* Prevent text wrapping */
222215 border-radius : 4px ; /* Optional: round the corners */
223216 box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.2 ); /* Optional: add a shadow */
217+ opacity : 1 ;
218+ position : absolute; /* Position relative to the nearest positioned ancestor */
219+ padding : 5px ;
220+ transform : translateY (5px ); /* Move tooltip slightly down */
221+ visibility : visible;
222+ white-space : normal; /* Prevent text wrapping */
223+ width : 400px ; /* Set a maximum width for the tooltip */
224+ z-index : 10 ;
224225}
You can’t perform that action at this time.
0 commit comments