Skip to content

Commit

Permalink
Merge pull request #1860 from nextcloud/fix/scroll-registration-dlg
Browse files Browse the repository at this point in the history
Registration not scrollable
  • Loading branch information
dartcafe authored Aug 2, 2021
2 parents 828f1f1 + abdc959 commit 60e982d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/js/assets/scss/hacks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@
.app-sidebar-tabs {
overflow-y: hidden;
}

.modal-wrapper .modal-container {
overflow: scroll !important;
}
13 changes: 10 additions & 3 deletions src/js/components/Poll/PublicRegisterModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
<template lang="html">
<Modal v-show="modal" :can-close="false">
<div class="modal__content">
<!-- <h2 class="modal__title">
{{ t('polls', 'Public poll') }}
</h2> -->
<div class="modal__registration">
<div class="registration__registration">
<h2>{{ t('polls', 'Public participation') }}</h2>
Expand Down Expand Up @@ -327,4 +324,14 @@ export default {
hyphens: auto;
border-top: 1px solid var(--color-border)
}

@media only screen and (max-width: 688px) {
.modal__content {
padding: 6px;
}

.modal__registration > div {
padding: 12px;
}
}
</style>

0 comments on commit 60e982d

Please sign in to comment.