Resolve "Update: QueryPanelComponent, question answering process"
Closes #438
Discussion topic:
How should this work on desktop?
Currently all the buttons only refer to the first shown card.
This can be confusing if you see multiple cards.
I would propose to disable all non focused cards? But maybe in another ticket / MR?
==============================================================
info topics:
I did not hide all the buttons as described in the ticket, because then the buttons would wildly jump around.
Remove and submit will be always shown in default
mode, only revert will be hidden if not possible to revert.
In autofocus delete will only be shown if it's possible to delete.
To prevent jumping of the back
button there now is a spacer element around the next button.
The black and white button now uses following css.
rcc-action-button.delete-button ::ng-deep .icon-button {
background: var(--main-contrast);
color: var(--supp-highlight-contrast);
border: 1px solid var(--supp-highlight-contrast);
}
rcc-action-button.delete-button ::ng-deep .disabled .icon-button {
background: var(--supp);
color: var(--supp-contrast);
border: 1px solid var(--supp-contrast);
}