jojo/templates/demo
Nirmal Kumar R 49f9cc7c4d chore: dialog modal max-width rendering failure (#12469)
The dialog element shrink wrap up to the max-width boundary. The
`long-modal` is set to strictly fit the `800px` width in the test.
However with Playwright minor font rendering differences makes the
dialog modal width resulting in `797px`.

Test fails at: [expect(width).toBe(800);](6132d0e406/tests/e2e/modal.test.e2e.ts (L103))

The fix is to increase the content of the `#long-model` element in
`templates/demo/model.tmpl` to 300 characters length instead of the
current `100` characters length ensures that the dialog modal will always
hit the `800px` max-width.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12469
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
2026-05-08 08:01:34 +02:00
..
buttons.tmpl chore(ui): change /devtest to /-/demo (#11019) 2026-01-26 13:12:25 +01:00
dropdown.tmpl chore(ui): change /devtest to /-/demo (#11019) 2026-01-26 13:12:25 +01:00
fetch-action.tmpl chore(ui): change /devtest to /-/demo (#11019) 2026-01-26 13:12:25 +01:00
flex-list.tmpl chore(ui): change /devtest to /-/demo (#11019) 2026-01-26 13:12:25 +01:00
fomantic-modal.tmpl chore(ui): change /devtest to /-/demo (#11019) 2026-01-26 13:12:25 +01:00
gitea-ui.tmpl chore(ui): change /devtest to /-/demo (#11019) 2026-01-26 13:12:25 +01:00
hashbox.tmpl chore(ui): change /devtest to /-/demo (#11019) 2026-01-26 13:12:25 +01:00
label.tmpl chore(ui): change /devtest to /-/demo (#11019) 2026-01-26 13:12:25 +01:00
list.tmpl chore(ui): change /devtest to /-/demo (#11019) 2026-01-26 13:12:25 +01:00
modal.tmpl chore: dialog modal max-width rendering failure (#12469) 2026-05-08 08:01:34 +02:00
tmplerr-sub.tmpl chore(ui): change /devtest to /-/demo (#11019) 2026-01-26 13:12:25 +01:00
tmplerr.tmpl chore(ui): change /devtest to /-/demo (#11019) 2026-01-26 13:12:25 +01:00