Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: split layout of conflict view
Give both versions 50% of the screen space and try to vertically align them.
This should make comparing the versions easier.

Fixes #3950.

Signed-off-by: Max <[email protected]>
  • Loading branch information
max-nextcloud authored and mejo- committed Mar 16, 2023
commit e83f2db0c35620b3174b929660d75686871c6f0d
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