Single bd-modal container

This commit is contained in:
Jiiks 2018-02-02 16:10:53 +02:00
parent a7a2e6b08b
commit 1647f8d8c2
2 changed files with 6 additions and 4 deletions

View File

@ -33,9 +33,7 @@
</div>
</div>
<div v-if="settingsOpen !== null" class="bd-backdrop" @click="settingsOpen = null"></div>
<div v-if="settingsOpen !== null" class="bd-modal">
<PluginSettingsModal :plugin="settingsOpen" />
</div>
<PluginSettingsModal v-if="settingsOpen !== null" :plugin="settingsOpen" />
</SettingsWrapper>
</template>

View File

@ -18,8 +18,12 @@
</div>
</div>
<div class="bd-modal-body">
<div class="bd-scroller-wrap">
<div class="bd-scroller">
<slot name="body"></slot>
</div>
</div>
</div>
<div class="bd-modal-footer">
<slot name="footer"></slot>
</div>