forked from platypush/platypush
Better entity modal padding
This commit is contained in:
parent
16c55b45f6
commit
958ef6b987
2 changed files with 11 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div class="modal-container fade-in" :id="id" :class="{hidden: !isVisible}" :style="{'--z-index': zIndex}" @click="close">
|
||||
<div class="modal">
|
||||
<div class="modal" :class="$attrs.class">
|
||||
<div class="content" :style="{'--width': width, '--height': height}" @click="$event.stopPropagation()">
|
||||
<div class="header" v-text="title" v-if="title"></div>
|
||||
<div class="body">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<Modal :visible="visible" :title="entity.name || entity.external_id">
|
||||
<Modal :visible="visible" class="entity-modal" :title="entity.name || entity.external_id">
|
||||
<ConfirmDialog ref="deleteConfirmDiag" title="Confirm entity deletion" @input="onDelete">
|
||||
Are you <b>sure</b> that you want to delete this entity? <br/><br/>
|
||||
Note: you should only delete an entity if its plugin has been disabled
|
||||
|
@ -210,6 +210,14 @@ export default {
|
|||
|
||||
<style lang="scss" scoped>
|
||||
:deep(.modal) {
|
||||
.body {
|
||||
padding: .5em !important;
|
||||
|
||||
.table-row {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
.icon-canvas {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
|
Loading…
Reference in a new issue