Skip to content

Commit

Permalink
improve status modal
Browse files Browse the repository at this point in the history
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
szaimen authored and backportbot[bot] committed Dec 30, 2021
1 parent 7f82061 commit 7848165
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion apps/user_status/src/components/SetStatusModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,28 @@ export default {
</script>

<style lang="scss" scoped>
// TODO: can be removed once migrated to @nextcloud-vue >= 5.0
::v-deep {
.modal-wrapper {
.prev, .next {
display: none !important;
}

.modal-container {
max-height: 100% !important;
}
}

.modal-header .modal-title {
display: none;
}
}

.set-status-modal {
min-height: 200px;
padding: 8px 20px 20px 20px;
// Enable scrollbar for too long content, same way as in Dashboard customize
max-height: 70vh;
max-height: 95vh;
overflow: auto;

&__header {
Expand Down

0 comments on commit 7848165

Please sign in to comment.