Skip to content

Commit 3c9b6f6

Browse files
szaimennextcloud-command
authored andcommitted
improve status modal
Signed-off-by: szaimen <[email protected]> Signed-off-by: nextcloud-command <[email protected]>
1 parent 66ca9ba commit 3c9b6f6

File tree

5 files changed

+25
-8
lines changed

5 files changed

+25
-8
lines changed

apps/user_status/js/user-status-menu.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/user_status/js/user-status-menu.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/user_status/js/user-status-modal.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/user_status/js/user-status-modal.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/user_status/src/components/SetStatusModal.vue

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,28 @@ export default {
238238
</script>
239239

240240
<style lang="scss" scoped>
241+
// TODO: can be removed once migrated to @nextcloud-vue >= 5.0
242+
::v-deep {
243+
.modal-wrapper {
244+
.prev, .next {
245+
display: none !important;
246+
}
247+
248+
.modal-container {
249+
max-height: 100% !important;
250+
}
251+
}
252+
253+
.modal-header .modal-title {
254+
display: none;
255+
}
256+
}
257+
241258
.set-status-modal {
242259
min-height: 200px;
243260
padding: 8px 20px 20px 20px;
244261
// Enable scrollbar for too long content, same way as in Dashboard customize
245-
max-height: 70vh;
262+
max-height: 95vh;
246263
overflow: auto;
247264
248265
&__header {

0 commit comments

Comments
 (0)