Mercurial > gemma
changeset 2625:fd93babdf8e6
client: popup: made content padding optional (for full-width tables)
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Wed, 13 Mar 2019 16:24:35 +0100 |
parents | 9dbaf69c7a66 |
children | 50cc5bffd787 |
files | client/src/components/Popup.vue |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/Popup.vue Wed Mar 13 16:18:39 2019 +0100 +++ b/client/src/components/Popup.vue Wed Mar 13 16:24:35 2019 +0100 @@ -10,7 +10,10 @@ :title="popup.title" :closeCallback="close" /> - <div class="popup-content" v-html="popup.content"></div> + <div + :class="{ 'p-3': popup.padding !== false }" + v-html="popup.content" + ></div> <div class="popup-footer" v-if="popup.cancel || popup.confirm"> <button class="btn btn-sm btn-warning" @@ -84,8 +87,6 @@ &:hover color: #888 background-color: #eee - .popup-content - padding: 1rem .popup-footer display: flex justify-content: space-between