Added some wider text min-width, fixed typo in js

This commit is contained in:
schnulller
2022-06-14 09:58:36 +02:00
parent 9e53de8be3
commit 25e032be63
3 changed files with 3 additions and 3 deletions

View File

@@ -340,7 +340,7 @@
.ha-minwidth .ha-tradzhtext,
.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,

File diff suppressed because one or more lines are too long

View File

@@ -140,7 +140,7 @@ const overlappingcollapsebox = function (selector, hoverfunction) {
let nextrect = boxes[i + 1].getBoundingClientRect();
let overlap = thisrect.bottom - nextrect.top;
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 &&
!(window.getComputedStyle(element).display === "none")
) {