mirror of
https://github.com/friebetill/obsidian-file-diff.git
synced 2026-07-22 07:40:25 +00:00
Counteract gravity pull
This commit is contained in:
parent
3b8500a9bd
commit
21d2ea70df
2 changed files with 7 additions and 0 deletions
|
|
@ -20,6 +20,9 @@ export class DeleteFileModal extends Modal {
|
|||
private readonly onDone: (error: Error | null) => void
|
||||
|
||||
onOpen(): void {
|
||||
// Counteract gravity pull by moving box up for balanced composition
|
||||
this.modalEl.addClass('mb-16')
|
||||
|
||||
this.contentEl.createEl('h2', {
|
||||
text: `Delete "${this.file2.name}"?`,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -81,6 +81,10 @@
|
|||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.mb-16 {
|
||||
margin-bottom: 80px;
|
||||
}
|
||||
|
||||
.text-gray {
|
||||
color: #919191;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue