Merge pull request #62 from AB1908/O_O
fix: Fix modal title and css overflow
This commit is contained in:
commit
b22db7914c
2 changed files with 5 additions and 5 deletions
|
|
@ -77,11 +77,10 @@ export abstract class SelectModal<T> extends Modal {
|
|||
}
|
||||
|
||||
async onOpen() {
|
||||
const {contentEl} = this;
|
||||
const {contentEl, titleEl} = this;
|
||||
|
||||
titleEl.createEl('h2', {text: this.title});
|
||||
contentEl.addClass('media-db-plugin-select-modal');
|
||||
|
||||
contentEl.createEl('h2', {text: this.title});
|
||||
contentEl.createEl('p', {text: this.description});
|
||||
|
||||
this.elementWrapper = contentEl.createDiv({cls: 'media-db-plugin-select-wrapper'});
|
||||
|
|
|
|||
|
|
@ -23,11 +23,12 @@ small.media-db-plugin-list-text{
|
|||
}
|
||||
|
||||
.media-db-plugin-select-modal {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
display: contents;
|
||||
}
|
||||
|
||||
.media-db-plugin-select-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 5px;
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue