Skip to content

Commit

Permalink
Merge pull request #3959 from nextcloud/backport/3951/stable26
Browse files Browse the repository at this point in the history
[stable26] fix: split layout of conflict view
  • Loading branch information
mejo- authored Mar 23, 2023
2 parents 7a27c46 + 0c78316 commit e46d416
Show file tree
Hide file tree
Showing 16 changed files with 34 additions and 22 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/sync.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ describe('Sync', () => {
.should('include', 'after the lost connection')
})

it.only('passes the doc content from one session to the next', () => {
it('passes the doc content from one session to the next', () => {
cy.closeFile()
cy.intercept({ method: 'PUT', url: '**/apps/text/session/create' })
.as('create')
Expand Down
4 changes: 2 additions & 2 deletions js/editor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/editor.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/files-modal.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/files-modal.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions js/text-editors.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-editors.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-files.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-files.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-public.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-public.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-text.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-text.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-viewer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-viewer.js.map

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions src/components/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,18 @@ export default {
}
}

.text-editor__wrapper.has-conflicts > .editor {
width: 50%;
}

.text-editor__wrapper.has-conflicts > .content-wrapper {
width: 50%;
#read-only-editor {
margin: 0px;
padding-top: 50px;
}
}

// Required in order to make the public pages behave the same if talk is enabled or not
// as Talk overwrites the public page styles and changes the DOM layout for the sidebar injection
#files-public-content {
Expand Down

0 comments on commit e46d416

Please sign in to comment.