Skip to content

Commit 771f373

Browse files
authored
Merge pull request #1716 from nextcloud/backport/1621/stable0.8
[stable0.8] enhancement: UI fixes for create/edit row dialogs
2 parents 4f72890 + c7815b7 commit 771f373

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/modules/modals/CreateRow.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<template>
66
<NcDialog v-if="showModal"
77
:name="t('tables', 'Create row')"
8+
size="large"
89
data-cy="createRowModal"
910
@closing="actionCancel">
1011
<div class="modal__content" @keydown="onKeydown">
@@ -168,12 +169,6 @@ export default {
168169
justify-content: end;
169170
}
170171
171-
:where(.fix-col-1.end) {
172-
display: inline-block;
173-
position: relative;
174-
left: 65%;
175-
}
176-
177172
:where(.slot.fix-col-2) {
178173
min-width: 50%;
179174
}

src/modules/modals/EditRow.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<NcDialog v-if="showModal"
77
data-cy="editRowModal"
88
:name="t('tables', 'Edit row')"
9+
size="large"
910
@closing="actionCancel">
1011
<div class="modal__content" @keydown="onKeydown">
1112
<div v-for="column in nonMetaColumns" :key="column.id">

src/shared/components/ncTable/partials/rowTypePartials/RowFormWrapper.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ export default {
9191
}
9292
9393
pre {
94-
white-space: pre;
94+
white-space: pre-wrap;
95+
white-space: -moz-pre-wrap;
96+
white-space: -pre-wrap;
97+
white-space: -o-pre-wrap;
98+
word-wrap: break-word;
9599
}
96100
97101
</style>

0 commit comments

Comments
 (0)