Improvements in performance / Better structure

This commit is contained in:
Sebastian Seedorf
2022-08-12 19:05:15 +02:00
parent 74fddc6710
commit 82888a5450
10 changed files with 176 additions and 82 deletions

View File

@@ -10,6 +10,8 @@
.spanSimple {
padding-inline-start: 0.2em;
position: relative;
display: inline-block;
}
.tooltip {
@@ -19,8 +21,8 @@
display: none;
position: absolute;
left: calc(100% + var(--arrow-width));
top: -500%;
bottom: -500%;
top: -5000%;
bottom: -5000%;
margin: auto 0;
width: max-content;
height: max-content;
@@ -37,8 +39,8 @@
.tooltip::before {
content: "";
border-style: solid;
top: -500%;
bottom: -500%;
top: 0;
bottom: 0;
margin: auto 0;
height: max-content;
border-width: var(--arrow-height) var(--arrow-width) var(--arrow-height) 0;
@@ -76,6 +78,10 @@
margin-block-start: 0;
}
.usedBy {
max-width: 20em;
}
.leftClick {
height: 1em;
transform: translateY(0.1em);