visualize type unification substitutions

This commit is contained in:
Joeri Exelmans 2025-05-27 11:17:32 +02:00
parent 4a4cee6ee9
commit 7edf44f107
7 changed files with 45 additions and 40 deletions

View file

@ -19,37 +19,6 @@
background-color: transparent;
}
.typeSignature {
display: inline-block;
/* z-index: 1; */
position: relative;
}
.typeSignature.gotDebug {
background-color: gold;
padding: 2px;
}
.typeDebug {
display: none;
}
.typeSignature:hover > .typeDebug {
display: inline-block;
position: absolute;
white-space-collapse: preserve;
width: max-content;
background-color: #d2ebf1e0;
color: black;
font-family: var(--my-monospace-font);
padding: 4px;
z-index: 1000;
}
.editor:hover > .typeSignature {
display: inline-block;
}
.keyword {
color: blue;
font-weight: bold;