spraakbanken / korp-frontend

Frontend for Korp, a tool using the IMS Open Corpus Workbench (CWB).
https://spraakbanken.gu.se/en/tools/korp
MIT License
16 stars 8 forks source link

Context view broken in example search #386

Closed arildm closed 2 months ago

arildm commented 2 months ago
  1. Make a comparison (I did framtid..nn.1 vs jämlikhet..nn.1 in vivill) This doesn't only happen when coming from the comparison view, but seemingly in all example searches, e.g. https://spraakbanken.gu.se/korplabb/#?lang=eng&cqp=%5B%5D&corpus=vivill&result_tab=2&show_stats&search=lemgram%7Cframtid%5C.%5C.nn%5C.1
  2. Click a row to get examples
  3. Click "Show context"
  4. Expected: The KWIC layout is replaced with tall rows with wrapped lines suitable for reading
  5. Actual: The KWIC layout remains, but context sentences are added to the sides and the corpus name is ugly large, see screenshot.

Screenshot from 2024-08-27 17-42-03