Skip to content

Commit

Permalink
Merge pull request #2549 from nextcloud/fix/compare-side-by-side
Browse files Browse the repository at this point in the history
fix: Proper layout for split view
  • Loading branch information
nfebe authored Sep 27, 2024
2 parents 000701d + 73099cc commit 55c6dd4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.

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

2 changes: 1 addition & 1 deletion css/viewer-main.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/* extracted by css-entry-points-plugin */
@import './main-BkCTcUfK.chunk.css';
@import './main-BQFA2tDS.chunk.css';
@import './logger-B6WZzrWi.chunk.css';
2 changes: 1 addition & 1 deletion js/viewer-main.mjs

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/views/Viewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1179,8 +1179,12 @@ export default {
}

&--split {
display: flex;

.viewer__file--active {
width: 50%;
left: 0;
position: relative;
}
}

Expand Down

0 comments on commit 55c6dd4

Please sign in to comment.