mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-30 01:35:32 +00:00
added basic start page setup; began rewrite of parser
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,3 +1,9 @@
|
||||
@layer components {
|
||||
|
||||
.ha-search {
|
||||
@apply pt-9 md:pt-12 px-9 md:px-16 bg-slate-50
|
||||
}
|
||||
|
||||
.ha-search .ha-letterlist {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -148,7 +148,7 @@
|
||||
}
|
||||
|
||||
.up {
|
||||
@apply relative -top[0.5em]
|
||||
@apply relative -top-[0.5em]
|
||||
}
|
||||
|
||||
.ha-alignright {
|
||||
|
||||
@@ -140,10 +140,17 @@ const overlappingcollapsebox = function (selector, hoverfunction) {
|
||||
let nextrect = boxes[i + 1].getBoundingClientRect();
|
||||
let overlap = thisrect.bottom - nextrect.top;
|
||||
if (
|
||||
overlap >= 0 &&
|
||||
// -1 for caching lines that perfectly close up on each other
|
||||
overlap >= -1 &&
|
||||
!(window.getComputedStyle(element).display === "none")
|
||||
) {
|
||||
let newlength = thisrect.height - overlap;
|
||||
let newlength = 0;
|
||||
if (overlap >= 0)
|
||||
newlength = thisrect.height - overlap;
|
||||
else
|
||||
newlength = thisrect.height - lineheight;
|
||||
if (newlength % (lineheight * 3) <= 2)
|
||||
newlength -= lineheight;
|
||||
let remainder = newlength % lineheight;
|
||||
newlength = newlength - remainder - 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user