File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -77,11 +77,10 @@ export abstract class SelectModal<T> extends Modal {
77
77
}
78
78
79
79
async onOpen ( ) {
80
- const { contentEl} = this ;
80
+ const { contentEl, titleEl } = this ;
81
81
82
+ titleEl . createEl ( 'h2' , { text : this . title } ) ;
82
83
contentEl . addClass ( 'media-db-plugin-select-modal' ) ;
83
-
84
- contentEl . createEl ( 'h2' , { text : this . title } ) ;
85
84
contentEl . createEl ( 'p' , { text : this . description } ) ;
86
85
87
86
this . elementWrapper = contentEl . createDiv ( { cls : 'media-db-plugin-select-wrapper' } ) ;
Original file line number Diff line number Diff line change @@ -23,11 +23,12 @@ small.media-db-plugin-list-text{
23
23
}
24
24
25
25
.media-db-plugin-select-modal {
26
- display : flex;
27
- flex-direction : column;
26
+ display : contents;
28
27
}
29
28
30
29
.media-db-plugin-select-wrapper {
30
+ display : flex;
31
+ flex-direction : column;
31
32
margin : 5px ;
32
33
flex : 1 ;
33
34
overflow-y : auto;
You can’t perform that action at this time.
0 commit comments