Fix wiki search overflowing on wide screens (#6047)

Confine the search menu to be at most the width of the page, or 80% of
the viewport width, whichever is smaller. To do this, introduce a new
`--container-width` variable for the descendant elements of
`.ui.container` to be able to access.

Also update the relevant e2e test: add a long 'lorem ipsum' page, add a
search for it, parameterize the width.
This commit is contained in:
Oto Šťáva 2024-11-24 16:41:09 +01:00
parent ad70e7dfb3
commit c0777279fe
No known key found for this signature in database
GPG key ID: 32B22D20C9B4E680
10 changed files with 65 additions and 25 deletions

View file

@ -0,0 +1 @@
xťŹÍn@…»ž§¸ű*ń†áGjŞŚmJ±‰C1“ě~R0ŹÓ§i}*ďU·•şĘ*gw>éHçËş¶­5<C2AD>6}§Ą€3”)Sh˛´0 9ÍTƨáž;2i2Óĺ®-É^óLň4wSžŰŞp™mSTČ­Ű\9V†Ô1Sép"Źşę¸ŐĽ|ůůëÇ“„ťî.Z>É법us™uíG 63<36>Ąđ)"9ÓóG­Ţ¶.÷ĺˇ.áâO¦ž¬ ň#XţJ$›ŘűË ¨?o<1˝_Š)n<>/±~ćá6ąëŐcS­űl<ÔXŽiŇb3{@ź÷B,g±řĎ ” Ż‘ŰËK|˝ĆEĐ[ß0\ď<>ÉŹaWńݢRć|¤ři{şąžxd… ŤĂÉßô9<ĐŮŇŹšg>»¨Š KOvÉ"D§J„sEŕęŘśzňĎĆ[Í_s!2ϡév%ěe©Čo(˝”

View file

@ -1 +1 @@
0dca5bd9b5d7ef937710e056f575e86c0184ba85
d49ac742d44063dcf69d4e0afe725813b777dd89