Skip to content

Commit 0ca5b09

Browse files
committed
adjust assistant width in standalone page, adjust modal style: use large size and make it larger instead of using full size
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
1 parent f938c09 commit 0ca5b09

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/components/AssistantTextProcessingModal.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default {
110110
show: true,
111111
closeButtonTitle: t('assistant', 'Close'),
112112
closeButtonLabel: t('assistant', 'Close Nextcloud Assistant'),
113-
modalSize: 'full',
113+
modalSize: 'large',
114114
progress: null,
115115
loading: false,
116116
expectedRuntime: null,
@@ -186,6 +186,11 @@ export default {
186186
.modal-container__content .assistant-modal--wrapper {
187187
height: 100%;
188188
}
189+
190+
// make large modal a bit larger
191+
.assistant-modal .modal-container {
192+
width: 1220px !important;
193+
}
189194
</style>
190195
191196
<style lang="scss" scoped>
@@ -205,7 +210,6 @@ export default {
205210
206211
.assistant-modal--content {
207212
width: 100%;
208-
max-width: 1220px;
209213
margin: 0 auto;
210214
padding: 16px;
211215
display: flex;

src/views/AssistantPage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export default {
228228
margin: 24px 16px 16px 16px;
229229
.form {
230230
width: 100%;
231-
//max-width: 1200px;
231+
max-width: 1220px;
232232
}
233233
}
234234
</style>

0 commit comments

Comments
 (0)