mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 09:15:33 +00:00
Added some wider text min-width, fixed typo in js
This commit is contained in:
@@ -340,7 +340,7 @@
|
|||||||
|
|
||||||
.ha-minwidth .ha-tradzhtext,
|
.ha-minwidth .ha-tradzhtext,
|
||||||
.ha-lettertext.ha-minwidth {
|
.ha-lettertext.ha-minwidth {
|
||||||
@apply min-w-[38rem] desktop:min-w-[55rem]
|
@apply min-w-[44rem] desktop:min-w-[58rem]
|
||||||
}
|
}
|
||||||
|
|
||||||
.ha-minwidth .ha-tradzhtext .ha-alignright,
|
.ha-minwidth .ha-tradzhtext .ha-alignright,
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -140,7 +140,7 @@ const overlappingcollapsebox = function (selector, hoverfunction) {
|
|||||||
let nextrect = boxes[i + 1].getBoundingClientRect();
|
let nextrect = boxes[i + 1].getBoundingClientRect();
|
||||||
let overlap = thisrect.bottom - nextrect.top;
|
let overlap = thisrect.bottom - nextrect.top;
|
||||||
if (
|
if (
|
||||||
// -1 for caching lines that perfectly close up on each other
|
// -1 for catching lines that perfectly close up on each other
|
||||||
overlap >= -1 &&
|
overlap >= -1 &&
|
||||||
!(window.getComputedStyle(element).display === "none")
|
!(window.getComputedStyle(element).display === "none")
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user