Update QueryRun / PAT answering process: size of slides
This issues concerns the daily question answering process.
Update the size of rcc-slide
s in QueryRunComponent
.
What is to be done?
Width
All slides should have a max-width of 22rem.
If the screen has not enough space for 22rem slides:
The question slides should have a width that allow the next slide to show on the right: calc(100vw - 4rem). '4rem' coming from the gaps on the left and the right side of the slide plus 2rem of the next slide.
The last slide cannot tease a next slide. So the last slide should span the whole screen with a width of: calc(100vw - 2rem).
Height
All slides should have the same height. All question cards within the slides should have the same size. (The all-done-slide has a slightly different setup, so it's okay, if the card on that page has a different height). The slide with the highest overall content determines the height of all other slides. Cards inside the slides should grow as much as possible (i.e. be as large as the slide, unless there is another element on the slide).
Where to start?
-
QueryRunComponent
:/lib/features/src/queries/query-run/query-run.component.ts