@@ -40,6 +40,7 @@
|
|||||||
"@nextcloud/vue": "^1.4.1",
|
"@nextcloud/vue": "^1.4.1",
|
||||||
"blueimp-md5": "^2.13.0",
|
"blueimp-md5": "^2.13.0",
|
||||||
"dompurify": "^2.0.8",
|
"dompurify": "^2.0.8",
|
||||||
|
"moment": "^2.24.0",
|
||||||
"nextcloud-vue-collections": "^0.7.2",
|
"nextcloud-vue-collections": "^0.7.2",
|
||||||
"p-queue": "^6.3.0",
|
"p-queue": "^6.3.0",
|
||||||
"url-search-params-polyfill": "^8.0.0",
|
"url-search-params-polyfill": "^8.0.0",
|
||||||
|
|||||||
@@ -276,7 +276,7 @@ export default {
|
|||||||
this.copiedCard = JSON.parse(JSON.stringify(this.currentCard))
|
this.copiedCard = JSON.parse(JSON.stringify(this.currentCard))
|
||||||
this.allLabels = this.currentCard.labels
|
this.allLabels = this.currentCard.labels
|
||||||
|
|
||||||
if (this.currentCard.assignedUsers.length > 0) {
|
if (this.currentCard.assignedUsers && this.currentCard.assignedUsers.length > 0) {
|
||||||
this.assignedUsers = this.currentCard.assignedUsers.map((item) => item.participant)
|
this.assignedUsers = this.currentCard.assignedUsers.map((item) => item.participant)
|
||||||
} else {
|
} else {
|
||||||
this.assignedUsers = []
|
this.assignedUsers = []
|
||||||
|
|||||||
@@ -22,14 +22,8 @@
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="badges">
|
<div class="badges">
|
||||||
<div v-if="false && card.description" class="icon icon-edit" />
|
|
||||||
|
|
||||||
<div v-if="card.commentsUnread > 0" class="icon icon-comment" />
|
<div v-if="card.commentsUnread > 0" class="icon icon-comment" />
|
||||||
|
|
||||||
<div v-if="card.duedate" :class="dueIcon">
|
|
||||||
<span>{{ relativeDate }}</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div v-if="card.description && checkListCount > 0" class="card-tasks icon icon-checkmark">
|
<div v-if="card.description && checkListCount > 0" class="card-tasks icon icon-checkmark">
|
||||||
<span>{{ checkListCheckedCount }}/{{ checkListCount }}</span>
|
<span>{{ checkListCheckedCount }}/{{ checkListCount }}</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -39,22 +33,79 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<AvatarList :users="card.assignedUsers" />
|
<AvatarList :users="card.assignedUsers" />
|
||||||
|
|
||||||
|
<div @click.stop.prevent>
|
||||||
|
<Actions v-if="canEdit">
|
||||||
|
<ActionButton v-if="showArchived === false" icon="icon-user" @click="assignCardToMe()">
|
||||||
|
{{ t('deck', 'Assign to me') }}
|
||||||
|
</ActionButton>
|
||||||
|
<ActionButton icon="icon-archive" @click="archiveUnarchiveCard()">
|
||||||
|
{{ t('deck', (showArchived ? 'Unarchive card' : 'Archive card')) }}
|
||||||
|
</ActionButton>
|
||||||
|
<ActionButton v-if="showArchived === false" icon="icon-delete" @click="deleteCard()">
|
||||||
|
{{ t('deck', 'Delete card') }}
|
||||||
|
</ActionButton>
|
||||||
|
<ActionButton icon="icon-external" @click.stop="modalShow=true">
|
||||||
|
{{ t('deck', 'Move card') }}
|
||||||
|
</ActionButton>
|
||||||
|
<ActionButton icon="icon-settings-dark" @click="openCard">
|
||||||
|
{{ t('deck', 'Card details') }}
|
||||||
|
</ActionButton>
|
||||||
|
</Actions>
|
||||||
|
</div>
|
||||||
|
<Modal v-if="modalShow" title="Move card to another board" @close="modalShow=false">
|
||||||
|
<div class="modal__content">
|
||||||
|
<Multiselect v-model="selectedBoard"
|
||||||
|
:placeholder="t('deck', 'Select a board')"
|
||||||
|
:options="boards"
|
||||||
|
label="title"
|
||||||
|
@select="loadStacksFromBoard" />
|
||||||
|
<Multiselect v-model="selectedStack"
|
||||||
|
:placeholder="t('deck', 'Select a stack')"
|
||||||
|
:options="stacksFromBoard"
|
||||||
|
label="title" />
|
||||||
|
|
||||||
|
<button :disabled="!isBoardAndStackChoosen" class="primary" @click="moveCard">
|
||||||
|
{{ t('deck', 'Move card') }}
|
||||||
|
</button>
|
||||||
|
<button @click="modalShow=false">
|
||||||
|
{{ t('deck', 'Cancel') }}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</Modal>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import AvatarList from './AvatarList'
|
import AvatarList from './AvatarList'
|
||||||
import moment from '@nextcloud/moment'
|
import { Modal, Actions, ActionButton, Multiselect } from '@nextcloud/vue'
|
||||||
|
import { mapGetters, mapState } from 'vuex'
|
||||||
|
import axios from '@nextcloud/axios'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CardBadges',
|
name: 'CardBadges',
|
||||||
components: { AvatarList },
|
components: { AvatarList, Actions, ActionButton, Modal, Multiselect },
|
||||||
props: {
|
props: {
|
||||||
id: {
|
id: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
modalShow: false,
|
||||||
|
selectedBoard: '',
|
||||||
|
selectedStack: '',
|
||||||
|
stacksFromBoard: [],
|
||||||
|
}
|
||||||
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
...mapGetters([
|
||||||
|
'canEdit',
|
||||||
|
]),
|
||||||
|
...mapState({
|
||||||
|
showArchived: state => state.showArchived,
|
||||||
|
currentBoard: state => state.currentBoard,
|
||||||
|
}),
|
||||||
checkListCount() {
|
checkListCount() {
|
||||||
return (this.card.description.match(/\[\s*\x*\]/g) || []).length
|
return (this.card.description.match(/\[\s*\x*\]/g) || []).length
|
||||||
},
|
},
|
||||||
@@ -67,28 +118,53 @@ export default {
|
|||||||
card() {
|
card() {
|
||||||
return this.$store.getters.cardById(this.id)
|
return this.$store.getters.cardById(this.id)
|
||||||
},
|
},
|
||||||
dueDateTooltip() {
|
isBoardAndStackChoosen() {
|
||||||
return moment(this.card.duedate).format('LLLL')
|
if (this.selectedBoard === '' || this.selectedStack === '') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
return true
|
||||||
},
|
},
|
||||||
relativeDate() {
|
boards() {
|
||||||
const diff = moment(this.$root.time).diff(this.card.duedate, 'seconds')
|
return this.$store.getters.boards.filter(board => {
|
||||||
if (diff >= 0 && diff < 45) {
|
return board.id !== this.currentBoard.id
|
||||||
return t('core', 'seconds ago')
|
})
|
||||||
}
|
|
||||||
return moment(this.card.duedate).fromNow()
|
|
||||||
},
|
},
|
||||||
dueIcon() {
|
},
|
||||||
const days = Math.floor(moment(this.card.duedate).diff(this.$root.time, 'seconds') / 60 / 60 / 24)
|
methods: {
|
||||||
if (days < 0) {
|
openCard() {
|
||||||
return 'icon-calendar due icon overdue'
|
this.$router.push({ name: 'card', params: { cardId: this.id } })
|
||||||
|
},
|
||||||
|
deleteCard() {
|
||||||
|
this.$store.dispatch('deleteCard', this.card)
|
||||||
|
},
|
||||||
|
archiveUnarchiveCard() {
|
||||||
|
this.$store.dispatch('archiveUnarchiveCard', { ...this.card, archived: !this.card.archived })
|
||||||
|
},
|
||||||
|
assignCardToMe() {
|
||||||
|
this.copiedCard = Object.assign({}, this.card)
|
||||||
|
this.$store.dispatch('assignCardToUser', {
|
||||||
|
card: this.copiedCard,
|
||||||
|
assignee: {
|
||||||
|
userId: OC.getCurrentUser().uid,
|
||||||
|
type: 0,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
},
|
||||||
|
moveCard() {
|
||||||
|
this.copiedCard = Object.assign({}, this.card)
|
||||||
|
this.copiedCard.stackId = this.selectedStack.id
|
||||||
|
this.$store.dispatch('moveCard', this.copiedCard)
|
||||||
|
this.modalShow = false
|
||||||
|
},
|
||||||
|
async loadStacksFromBoard(board) {
|
||||||
|
try {
|
||||||
|
console.debug(board)
|
||||||
|
const url = OC.generateUrl('/apps/deck/stacks/' + board.id)
|
||||||
|
const response = await axios.get(url)
|
||||||
|
this.stacksFromBoard = response.data
|
||||||
|
} catch (err) {
|
||||||
|
return err
|
||||||
}
|
}
|
||||||
if (days === 0) {
|
|
||||||
return 'icon-calendar-dark due icon now'
|
|
||||||
}
|
|
||||||
if (days === 1) {
|
|
||||||
return 'icon-calendar-dark due icon next'
|
|
||||||
}
|
|
||||||
return 'icon-calendar-dark due icon'
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@@ -153,4 +229,27 @@ export default {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fade-enter-active, .fade-leave-active {
|
||||||
|
transition: opacity .125s;
|
||||||
|
}
|
||||||
|
.fade-enter, .fade-leave-to {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal__content {
|
||||||
|
width: 25vw;
|
||||||
|
min-width: 250px;
|
||||||
|
height: 120px;
|
||||||
|
text-align: center;
|
||||||
|
margin: 20px 20px 60px 20px;
|
||||||
|
|
||||||
|
.multiselect {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal__content button {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -47,44 +47,11 @@
|
|||||||
<input type="button" class="icon-confirm" @click="finishedEdit(card)">
|
<input type="button" class="icon-confirm" @click="finishedEdit(card)">
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<Actions v-if="canEdit && !editing" @click.stop.prevent>
|
<div v-if="!editing" class="right">
|
||||||
<ActionButton v-if="showArchived === false" icon="icon-user" @click="assignCardToMe()">
|
<div v-if="card.duedate" :class="dueIcon">
|
||||||
{{ t('deck', 'Assign to me') }}
|
<span>{{ relativeDate }}</span>
|
||||||
</ActionButton>
|
|
||||||
<ActionButton icon="icon-archive" @click="archiveUnarchiveCard()">
|
|
||||||
{{ t('deck', (showArchived ? 'Unarchive card' : 'Archive card')) }}
|
|
||||||
</ActionButton>
|
|
||||||
<ActionButton v-if="showArchived === false" icon="icon-delete" @click="deleteCard()">
|
|
||||||
{{ t('deck', 'Delete card') }}
|
|
||||||
</ActionButton>
|
|
||||||
<ActionButton icon="icon-external" @click.stop="modalShow=true">
|
|
||||||
{{ t('deck', 'Move card') }}
|
|
||||||
</ActionButton>
|
|
||||||
<ActionButton icon="icon-settings-dark" @click="openCard">
|
|
||||||
{{ t('deck', 'Card details') }}
|
|
||||||
</ActionButton>
|
|
||||||
</Actions>
|
|
||||||
|
|
||||||
<Modal v-if="modalShow" title="Move card to another board" @close="modalShow=false">
|
|
||||||
<div class="modal__content">
|
|
||||||
<Multiselect v-model="selectedBoard"
|
|
||||||
:placeholder="t('deck', 'Select a board')"
|
|
||||||
:options="boards"
|
|
||||||
label="title"
|
|
||||||
@select="loadStacksFromBoard" />
|
|
||||||
<Multiselect v-model="selectedStack"
|
|
||||||
:placeholder="t('deck', 'Select a stack')"
|
|
||||||
:options="stacksFromBoard"
|
|
||||||
label="title" />
|
|
||||||
|
|
||||||
<button :disabled="!isBoardAndStackChoosen" class="primary" @click="moveCard">
|
|
||||||
{{ t('deck', 'Move card') }}
|
|
||||||
</button>
|
|
||||||
<button @click="modalShow=false">
|
|
||||||
{{ t('deck', 'Cancel') }}
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
</Modal>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ul v-if="card.labels && card.labels.length > 0" class="labels" @click="openCard">
|
<ul v-if="card.labels && card.labels.length > 0" class="labels" @click="openCard">
|
||||||
<li v-for="label in card.labels" :key="label.id" :style="labelStyle(label)">
|
<li v-for="label in card.labels" :key="label.id" :style="labelStyle(label)">
|
||||||
@@ -99,11 +66,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Modal, Actions, ActionButton, Multiselect } from '@nextcloud/vue'
|
|
||||||
import ClickOutside from 'vue-click-outside'
|
import ClickOutside from 'vue-click-outside'
|
||||||
import { mapState, mapGetters } from 'vuex'
|
import { mapState, mapGetters } from 'vuex'
|
||||||
import axios from '@nextcloud/axios'
|
import moment from 'moment'
|
||||||
|
|
||||||
import CardBadges from './CardBadges'
|
import CardBadges from './CardBadges'
|
||||||
import Color from '../../mixins/color'
|
import Color from '../../mixins/color'
|
||||||
import labelStyle from '../../mixins/labelStyle'
|
import labelStyle from '../../mixins/labelStyle'
|
||||||
@@ -111,7 +76,7 @@ import AttachmentDragAndDrop from '../AttachmentDragAndDrop'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'CardItem',
|
name: 'CardItem',
|
||||||
components: { Modal, CardBadges, Actions, ActionButton, Multiselect, AttachmentDragAndDrop },
|
components: { CardBadges, AttachmentDragAndDrop },
|
||||||
directives: {
|
directives: {
|
||||||
ClickOutside,
|
ClickOutside,
|
||||||
},
|
},
|
||||||
@@ -124,13 +89,8 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
menuOpened: false,
|
|
||||||
editing: false,
|
editing: false,
|
||||||
copiedCard: '',
|
copiedCard: null,
|
||||||
modalShow: false,
|
|
||||||
selectedBoard: '',
|
|
||||||
selectedStack: '',
|
|
||||||
stacksFromBoard: [],
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -145,34 +105,37 @@ export default {
|
|||||||
card() {
|
card() {
|
||||||
return this.$store.getters.cardById(this.id)
|
return this.$store.getters.cardById(this.id)
|
||||||
},
|
},
|
||||||
boards() {
|
|
||||||
return this.$store.getters.boards.filter(board => {
|
|
||||||
return board.id !== this.currentBoard.id
|
|
||||||
})
|
|
||||||
},
|
|
||||||
menu() {
|
|
||||||
return []
|
|
||||||
},
|
|
||||||
currentCard() {
|
currentCard() {
|
||||||
return this.$route.params.cardId === this.id
|
return this.$route.params.cardId === this.id
|
||||||
},
|
},
|
||||||
isBoardAndStackChoosen() {
|
relativeDate() {
|
||||||
if (this.selectedBoard === '' || this.selectedStack === '') {
|
const diff = moment(this.$root.time).diff(this.card.duedate, 'seconds')
|
||||||
return false
|
if (diff >= 0 && diff < 45) {
|
||||||
|
return t('core', 'seconds ago')
|
||||||
}
|
}
|
||||||
return true
|
return moment(this.card.duedate).fromNow()
|
||||||
|
},
|
||||||
|
dueIcon() {
|
||||||
|
const days = Math.floor(moment(this.card.duedate).diff(this.$root.time, 'seconds') / 60 / 60 / 24)
|
||||||
|
if (days < 0) {
|
||||||
|
return 'icon-calendar due icon overdue'
|
||||||
|
}
|
||||||
|
if (days === 0) {
|
||||||
|
return 'icon-calendar-dark due icon now'
|
||||||
|
}
|
||||||
|
if (days === 1) {
|
||||||
|
return 'icon-calendar-dark due icon next'
|
||||||
|
}
|
||||||
|
return 'icon-calendar-dark due icon'
|
||||||
|
},
|
||||||
|
dueDateTooltip() {
|
||||||
|
return moment(this.card.duedate).format('LLLL')
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
openCard() {
|
openCard() {
|
||||||
this.$router.push({ name: 'card', params: { cardId: this.id } })
|
this.$router.push({ name: 'card', params: { cardId: this.id } })
|
||||||
},
|
},
|
||||||
togglePopoverMenu() {
|
|
||||||
this.menuOpened = !this.menuOpened
|
|
||||||
},
|
|
||||||
hidePopoverMenu() {
|
|
||||||
this.menuOpened = false
|
|
||||||
},
|
|
||||||
startEditing(card) {
|
startEditing(card) {
|
||||||
this.copiedCard = Object.assign({}, card)
|
this.copiedCard = Object.assign({}, card)
|
||||||
this.editing = true
|
this.editing = true
|
||||||
@@ -186,39 +149,6 @@ export default {
|
|||||||
cancelEdit() {
|
cancelEdit() {
|
||||||
this.editing = false
|
this.editing = false
|
||||||
},
|
},
|
||||||
deleteCard() {
|
|
||||||
this.$store.dispatch('deleteCard', this.card)
|
|
||||||
},
|
|
||||||
archiveUnarchiveCard() {
|
|
||||||
this.copiedCard = Object.assign({}, this.card)
|
|
||||||
this.copiedCard.archived = !this.copiedCard.archived
|
|
||||||
this.$store.dispatch('archiveUnarchiveCard', this.copiedCard)
|
|
||||||
},
|
|
||||||
assignCardToMe() {
|
|
||||||
this.copiedCard = Object.assign({}, this.card)
|
|
||||||
this.$store.dispatch('assignCardToUser', {
|
|
||||||
card: this.copiedCard,
|
|
||||||
assignee: {
|
|
||||||
userId: OC.getCurrentUser().uid,
|
|
||||||
type: 0,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
},
|
|
||||||
async loadStacksFromBoard(board) {
|
|
||||||
try {
|
|
||||||
const url = OC.generateUrl('/apps/deck/stacks/' + board.id)
|
|
||||||
const response = await axios.get(url)
|
|
||||||
this.stacksFromBoard = response.data
|
|
||||||
} catch (err) {
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
},
|
|
||||||
moveCard() {
|
|
||||||
this.copiedCard = Object.assign({}, this.card)
|
|
||||||
this.copiedCard.stackId = this.selectedStack.id
|
|
||||||
this.$store.dispatch('moveCard', this.copiedCard)
|
|
||||||
this.modalShow = false
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -227,13 +157,6 @@ export default {
|
|||||||
$card-spacing: 10px;
|
$card-spacing: 10px;
|
||||||
$card-padding: 10px;
|
$card-padding: 10px;
|
||||||
|
|
||||||
.fade-enter-active, .fade-leave-active {
|
|
||||||
transition: opacity .125s;
|
|
||||||
}
|
|
||||||
.fade-enter, .fade-leave-to {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
body.dark .card {
|
body.dark .card {
|
||||||
border: 1px solid var(--color-border);
|
border: 1px solid var(--color-border);
|
||||||
}
|
}
|
||||||
@@ -290,8 +213,8 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 1px 3px;
|
padding: 3px 7px;
|
||||||
border-radius: 3px;
|
border-radius: 15px;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
margin-bottom: 3px;
|
margin-bottom: 3px;
|
||||||
@@ -314,13 +237,56 @@ export default {
|
|||||||
.card-controls {
|
.card-controls {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-left: $card-padding;
|
margin-left: $card-padding;
|
||||||
margin-right: $card-padding;
|
|
||||||
& > div {
|
& > div {
|
||||||
display: flex;
|
display: flex;
|
||||||
max-height: 44px;
|
max-height: 44px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.right {
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
|
margin-right: 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon.due {
|
||||||
|
background-position: 4px center;
|
||||||
|
border-radius: 3px;
|
||||||
|
margin-top: 9px;
|
||||||
|
margin-bottom: 9px;
|
||||||
|
padding: 3px 4px;
|
||||||
|
font-size: 90%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
opacity: .5;
|
||||||
|
flex-shrink: 1;
|
||||||
|
z-index: 2;
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
background-size: contain;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.overdue {
|
||||||
|
background-color: var(--color-error);
|
||||||
|
color: var(--color-primary-text);
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
|
&.now {
|
||||||
|
background-color: var(--color-warning);
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
|
&.next {
|
||||||
|
background-color: var(--color-background-dark);
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
|
|
||||||
|
span {
|
||||||
|
margin-left: 20px;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.compact {
|
.compact {
|
||||||
min-height: 50px;
|
min-height: 50px;
|
||||||
@@ -340,20 +306,4 @@ export default {
|
|||||||
color: transparent;
|
color: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal__content {
|
|
||||||
width: 25vw;
|
|
||||||
min-width: 250px;
|
|
||||||
height: 120px;
|
|
||||||
text-align: center;
|
|
||||||
margin: 20px 20px 60px 20px;
|
|
||||||
|
|
||||||
.multiselect {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal__content button {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user