File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed
Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 1+ .pf-chatbot__code-modal-backdrop {
2+ position : static ;
3+ }
4+
15.pf-chatbot__code-modal {
26 --pf-v6-c-modal-box--BorderRadius : var (--pf-t--global--border--radius--medium );
37 position : fixed ;
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ export const CodeModal: React.FunctionComponent<CodeModalProps> = ({
105105 aria-labelledby = "code-modal-title"
106106 aria-describedby = "code-modal"
107107 className = { `pf-chatbot__code-modal pf-chatbot__code-modal--${ displayMode } ` }
108+ backdropClassName = "pf-chatbot__code-modal-backdrop"
108109 >
109110 < ModalHeader title = { title } labelId = "code-modal-title" />
110111 < ModalBody id = "code-modal-body" >
Original file line number Diff line number Diff line change 8585 left : 0 !important ;
8686 right : auto !important ;
8787}
88-
89- /* This is for the Code Modals, so they act like they're part of the
90- /* chatbot. The PF modal doesn't allow us to change the position in
91- /* a more targeted way, because you can only add classes onto the
92- /* dialog itself. */
93- .pf-v6-c-backdrop {
94- position : static ;
95- }
You can’t perform that action at this time.
0 commit comments