static: fix modal scrolling not working

This commit is contained in:
Jens Langhammer 2020-11-22 21:04:09 +01:00
parent 8b11616cf8
commit 0c2d46e0af
3 changed files with 6 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -27,6 +27,9 @@ export class ModalButton extends LitElement {
:host { :host {
text-align: left; text-align: left;
} }
::slotted(*) {
overflow-y: auto;
}
`, `,
ModalBoxStyle, ModalBoxStyle,
BullseyeStyle, BullseyeStyle,
@ -133,7 +136,7 @@ export class ModalButton extends LitElement {
return html`<div class="pf-c-backdrop"> return html`<div class="pf-c-backdrop">
<div class="pf-l-bullseye"> <div class="pf-l-bullseye">
<div <div
class="pf-c-modal-box pf-m-md" class="pf-c-modal-box pf-m-lg"
role="dialog" role="dialog"
aria-modal="true" aria-modal="true"
aria-labelledby="modal-md-title" aria-labelledby="modal-md-title"